|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hypercast.Extension | +--hypercast.FSM_Extension
This class defines the OL_Message extension header. It contains all the functions needed to maintain the Extension header. The header applies to OL_Message.FSM extension.
Field Summary |
Fields inherited from class hypercast.Extension |
FSM, HEADER_NONE, RAW_DATA, ROUTE_RECORD, SECURITY |
Constructor Summary | |
FSM_Extension(hypercast.FSM_Extension se)
Constructs an SecurityExtension Extension from an existing one. |
|
FSM_Extension(short fsmid,
byte type,
byte[] uniqueID)
Constructs an Extension header object for Message-FSM-data finite state machine id (2 bytes) type(1 byte) byte array of the message id (8 bytes) // TODO: I think that this comment is wrong, should be 4 byte |
|
FSM_Extension(short fsmid,
byte type,
byte[] uniqueID,
byte[] controlData)
Constructs an Extension header object for Stream-Control finite state machine id (2 bytes) type (1 byte) unique id (no fixed length) control payload (no fixed length) |
|
FSM_Extension(short fsmid,
byte type,
byte[] uniqueID,
byte deliveryMode,
hypercast.I_LogicalAddress la)
Constructs an Extension header object for FSM-Control finite state machine id (2 bytes) type(1 byte) byte array of the message id (8 bytes), delivery mode (1 byte),the logical address of the root |
|
FSM_Extension(short fsmid,
byte type,
byte[] uniqueID,
hypercast.I_LogicalAddress la)
Constructs an Extension header object for FSM-Control finite state machine id (2 bytes) type(1 byte) byte array of the message id (8 bytes), delivery mode (1 byte),the logical address of the root |
|
FSM_Extension(short fsmid,
byte type,
byte[] uniqueID,
long sequenceNumber)
Constructs an Extension header object for Stream-Data header(1 byte) type(1 byte) finite state machine id (2 bytes) stream id length(1 byte) stream id(no fixed length),sequence number(8 bytes) |
Method Summary | |
hypercast.Extension |
Clone()
Return a new FSM_Extension extension instance by cloning this extension. |
byte |
getExtensionType()
Returns the type of this extension. |
int |
getSize()
Return the length of the byte array of this extension. |
byte[] |
toByteArray()
Return the byte array of the extension header |
Methods inherited from class hypercast.Extension |
createExtension, createExtension, createExtension, createExtension, createExtension, isValidHeader, toString, typeToString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FSM_Extension(short fsmid, byte type, byte[] uniqueID)
public FSM_Extension(short fsmid, byte type, byte[] uniqueID, byte deliveryMode, hypercast.I_LogicalAddress la)
public FSM_Extension(short fsmid, byte type, byte[] uniqueID, hypercast.I_LogicalAddress la)
public FSM_Extension(short fsmid, byte type, byte[] uniqueID, long sequenceNumber)
public FSM_Extension(short fsmid, byte type, byte[] uniqueID, byte[] controlData)
public FSM_Extension(hypercast.FSM_Extension se)
Method Detail |
public hypercast.Extension Clone()
Clone
in class Extension
public byte getExtensionType()
getExtensionType
in class Extension
public byte[] toByteArray()
toByteArray
in class Extension
public int getSize()
getSize
in class Extension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |