public interface WireFormat
| Modifier and Type | Method and Description |
|---|---|
int |
getVersion() |
ByteSequence |
marshal(java.lang.Object command)
Packet based marshaling
|
void |
marshal(java.lang.Object command,
java.io.DataOutput out)
Stream based marshaling
|
void |
setVersion(int version) |
java.lang.Object |
unmarshal(ByteSequence packet)
Packet based un-marshaling
|
java.lang.Object |
unmarshal(java.io.DataInput in)
Packet based un-marshaling
|
ByteSequence marshal(java.lang.Object command) throws java.io.IOException
java.io.IOExceptionjava.lang.Object unmarshal(ByteSequence packet) throws java.io.IOException
java.io.IOExceptionvoid marshal(java.lang.Object command,
java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionjava.lang.Object unmarshal(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionvoid setVersion(int version)
the - version of the wire formatint getVersion()
Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.