cgl.narada.transport.sslHttpBase
Class LinkMessageKeepAlive

java.lang.Object
  extended by cgl.narada.transport.sslHttpBase.LinkMessage
      extended by cgl.narada.transport.sslHttpBase.LinkMessageKeepAlive

public class LinkMessageKeepAlive
extends LinkMessage

The link keep alive message.


Field Summary
static byte TRANSPORT_KEEPALIVE_TYPE
           
 
Fields inherited from class cgl.narada.transport.sslHttpBase.LinkMessage
TRANSPORT_DATA_TYPE
 
Constructor Summary
LinkMessageKeepAlive()
          --------------------------------------------------------------
LinkMessageKeepAlive(String channelID)
          --------------------------------------------------------------
 
Method Summary
 long getKeepAliveCreationTime()
          --------------------------------------------------------------
static void main(String[] args)
          -------------------------------------------------------------- Unit Testing.
 void parseData(byte[] payload)
          --------------------------------------------------------------
 byte[] toBytes()
          --------------------------------------------------------------
 
Methods inherited from class cgl.narada.transport.sslHttpBase.LinkMessage
exportString, getLinkID, getMessageType, getPayload, importString, setMessageType, setPayload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSPORT_KEEPALIVE_TYPE

public static final byte TRANSPORT_KEEPALIVE_TYPE
See Also:
Constant Field Values
Constructor Detail

LinkMessageKeepAlive

public LinkMessageKeepAlive()
--------------------------------------------------------------


LinkMessageKeepAlive

public LinkMessageKeepAlive(String channelID)
--------------------------------------------------------------

Method Detail

getKeepAliveCreationTime

public long getKeepAliveCreationTime()
--------------------------------------------------------------


toBytes

public byte[] toBytes()
--------------------------------------------------------------

Overrides:
toBytes in class LinkMessage

parseData

public void parseData(byte[] payload)
               throws IOException
--------------------------------------------------------------

Overrides:
parseData in class LinkMessage
Throws:
IOException

main

public static void main(String[] args)
                 throws IOException
-------------------------------------------------------------- Unit Testing.

Throws:
IOException


For comments and suggestions please send e-mail to The NaradaBrokering Project