cgl.narada.transport.sslHttpBase
Class LinkMessagePerf

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

public class LinkMessagePerf
extends LinkMessage

Aids in measurement of ssl link performance.


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

Field Detail

TRANSPORT_PERFORMANCE_TYPE

public static final byte TRANSPORT_PERFORMANCE_TYPE
See Also:
Constant Field Values

PERF_REQUEST

public static final byte PERF_REQUEST
See Also:
Constant Field Values

PERF_RESPONSE

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

LinkMessagePerf

public LinkMessagePerf(String channelID)
---------------------------------------------------------------------


LinkMessagePerf

public LinkMessagePerf(String channelID,
                       byte perfMessageType)
---------------------------------------------------------------------

Method Detail

setPayload

public void setPayload(byte[] payload)
---------------------------------------------------------------------

Overrides:
setPayload in class LinkMessage

toBytes

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

Overrides:
toBytes in class LinkMessage

constructMessage

public void constructMessage()
---------------------------------------------------------------------


main

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

Throws:
IOException


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