public class ObjectMarshaller extends VariableMarshaller<Object>
Constructor and Description |
---|
ObjectMarshaller() |
Modifier and Type | Method and Description |
---|---|
Object |
readPayload(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(Object object,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
deepCopy, getFixedSize, isDeepCopySupported
public void writePayload(Object object, DataOutput dataOut) throws IOException
Marshaller
IOException
public Object readPayload(DataInput dataIn) throws IOException
Marshaller
IOException
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.