sidnet.stack.users.triggers_project.routing
Class NotificationMessage

java.lang.Object
  extended by sidnet.stack.users.triggers_project.routing.NotificationMessage
All Implemented Interfaces:
JistAPI.Timeless, Payload

public class NotificationMessage
extends java.lang.Object
implements Payload


Field Summary
 boolean notification
           
 
Constructor Summary
NotificationMessage()
           
 
Method Summary
 void getBytes(byte[] b, int offset)
          Store packet into byte array.
 int getSize()
          Return packet size or Constants.ZERO_WIRE_SIZE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notification

public boolean notification
Constructor Detail

NotificationMessage

public NotificationMessage()
Method Detail

getSize

public int getSize()
Description copied from interface: Payload
Return packet size or Constants.ZERO_WIRE_SIZE.

Specified by:
getSize in interface Payload
Returns:
packet size [in bytes]

getBytes

public void getBytes(byte[] b,
                     int offset)
Store packet into byte array.

Specified by:
getBytes in interface Payload
Parameters:
b - destination byte array
offset - byte array starting offset