public class ObjectStreamWireFormat extends Object implements WireFormat
| Constructor and Description |
|---|
ObjectStreamWireFormat() |
| Modifier and Type | Method and Description |
|---|---|
int |
getVersion() |
ByteSequence |
marshal(Object command)
Packet based marshaling
|
void |
marshal(Object command,
DataOutput ds)
Stream based marshaling
|
void |
setVersion(int version) |
Object |
unmarshal(ByteSequence packet)
Packet based un-marshaling
|
Object |
unmarshal(DataInput ds)
Packet based un-marshaling
|
public ObjectStreamWireFormat()
public ByteSequence marshal(Object command) throws IOException
WireFormatmarshal in interface WireFormatIOExceptionpublic Object unmarshal(ByteSequence packet) throws IOException
WireFormatunmarshal in interface WireFormatIOExceptionpublic void marshal(Object command, DataOutput ds) throws IOException
WireFormatmarshal in interface WireFormatIOExceptionpublic Object unmarshal(DataInput ds) throws IOException
WireFormatunmarshal in interface WireFormatIOExceptionpublic void setVersion(int version)
setVersion in interface WireFormatpublic int getVersion()
getVersion in interface WireFormatCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.