|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of the custom serializers for each class.
Method Summary | |
void |
serialize(java.lang.Object obj,
java.nio.ByteBuffer buffer,
SerializationContext context)
Serializes the object's fields. |
void |
serializeInstanceInfo(java.lang.Object obj,
java.nio.ByteBuffer buffer,
SerializationContext context)
Serializes information necessary to instantiate an object. |
Method Detail |
public void serializeInstanceInfo(java.lang.Object obj, java.nio.ByteBuffer buffer, SerializationContext context)
obj
- The object being serializedbuffer
- The buffer to which the object is being serializedcontext
- The SerializationContext that is serializing this object.
Objects that are members of the serialized object can be replaced
by references by the context.public void serialize(java.lang.Object obj, java.nio.ByteBuffer buffer, SerializationContext context)
SerializationContext.update(Object, ByteBuffer)
obj
- The object being serializedbuffer
- The buffer to which the object is being serializedcontext
- The SerializationContext that is serializing this object.
Objects that are members of the serialized object can be replaced
by references by the context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |