|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.renesys.raceway.SSF.Event
|
+--SSF.OS.PacketEvent
Wrapper class to turn a ProtocolMessage into an Event that can be sent on an SSF channel.
| Field Summary |
| Fields inherited from class com.renesys.raceway.SSF.Event |
wWz, WWz, YWz, zWz, ZWz |
| Constructor Summary | |
PacketEvent()
Create an empty PacketEvent with no headers. |
|
PacketEvent(java.lang.Class pktclass)
Create an instance of the given class, which must extend ProtocolMessage, and wrap it in a PacketEvent. |
|
PacketEvent(ProtocolMessage msg)
Create a PacketEvent wrapper for the given ProtocolMessage. |
|
| Method Summary | |
void |
frombytes(byte[] buf)
Deserialize a packet from a byte buffer. |
ProtocolMessage |
getHeaders()
Return the protocol message (the packet headers) inside this PacketEvent. |
byte[] |
tobytes()
Convert a packet into a byte buffer. |
| Methods inherited from class com.renesys.raceway.SSF.Event |
aliased, release, save, WYW, zYW |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PacketEvent()
public PacketEvent(ProtocolMessage msg)
public PacketEvent(java.lang.Class pktclass)
| Method Detail |
public ProtocolMessage getHeaders()
public void frombytes(byte[] buf)
public byte[] tobytes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||