|
@@ -26,12 +26,14 @@ public abstract class Packet {
|
|
public abstract byte[] dumpBytes();
|
|
public abstract byte[] dumpBytes();
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * Returns a textual representation of the package
|
|
*
|
|
*
|
|
* @return Textual Representation of the Package
|
|
* @return Textual Representation of the Package
|
|
*/
|
|
*/
|
|
public abstract String getTextualRepresentation();
|
|
public abstract String getTextualRepresentation();
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * Returns the Payload as String
|
|
*
|
|
*
|
|
* @return Textual Representation of the Package
|
|
* @return Textual Representation of the Package
|
|
*/
|
|
*/
|
|
@@ -39,6 +41,8 @@ public abstract class Packet {
|
|
|
|
|
|
/**
|
|
/**
|
|
* Returns the Timestamp, at which the packet was sent
|
|
* Returns the Timestamp, at which the packet was sent
|
|
|
|
+ *
|
|
|
|
+ * @return timestamp, the packet was sent
|
|
*/
|
|
*/
|
|
public long getTimestamp(){
|
|
public long getTimestamp(){
|
|
return timestamp;
|
|
return timestamp;
|