|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a mechanism to marshal commands into and out of packets or into and out of streams, Channels and Datagrams.
Method Summary | |
int |
getVersion()
|
Packet |
marshal(Object command)
Packet based marshaling |
void |
marshal(Object command,
DataOutputStream out)
Stream based marshaling |
void |
setVersion(int version)
|
Object |
unmarshal(DataInputStream in)
Packet based un-marshaling |
Object |
unmarshal(Packet packet)
Packet based un-marshaling |
Method Detail |
public Packet marshal(Object command) throws IOException
IOException
public Object unmarshal(Packet packet) throws IOException
IOException
public void marshal(Object command, DataOutputStream out) throws IOException
IOException
public Object unmarshal(DataInputStream in) throws IOException
IOException
public void setVersion(int version)
public int getVersion()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |