yass.packet
Class Payload

java.lang.Object
  extended by yass.packet.Payload

public class Payload
extends java.lang.Object

A generic packet payload into which the simulated sensornet nodes cannot look for more information. Use instances of this class to indicate that a packet has a payload. Some packets may not have any payload at all, in which case a null can be used instead of an instance of Payload. If the simulated network nodes or network application need to examine the payload in their decision making, use a suitable subclass of Payload.


Constructor Summary
Payload()
          Creates a new instance of Payload
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Payload

public Payload()
Creates a new instance of Payload