|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fusesource.hawtbuf.codec.VariableCodec<T>
org.fusesource.hawtbuf.codec.ObjectCodec<T>
public class ObjectCodec<T>
Implementation of a Marshaller for Objects
| Constructor Summary | |
|---|---|
ObjectCodec()
|
|
| Method Summary | |
|---|---|
T |
decode(java.io.DataInput dataIn)
Read the payload of the object from the DataInput stream. |
void |
encode(java.lang.Object object,
java.io.DataOutput dataOut)
Write the payload of the object to the DataOutput stream. |
| Methods inherited from class org.fusesource.hawtbuf.codec.VariableCodec |
|---|
deepCopy, estimatedSize, getFixedSize, isDeepCopySupported, isEstimatedSizeSupported |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectCodec()
| Method Detail |
|---|
public void encode(java.lang.Object object,
java.io.DataOutput dataOut)
throws java.io.IOException
Codec
java.io.IOException
public T decode(java.io.DataInput dataIn)
throws java.io.IOException
Codec
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||