public class CGLibProxySerializer extends com.esotericsoftware.kryo.Serializer<Object>
CGLibProxySerializer.CGLibProxyMarker class.
When the serializer for a certain class is requested (via Kryo.getDefaultSerializer(Class))
canSerialize(Class) has to be checked with the provided class to see if
a CGLibProxySerializer should be returned.| Modifier and Type | Class and Description |
|---|---|
static interface |
CGLibProxySerializer.CGLibProxyMarker
This class is used as a marker class - written to the class attribute
on serialization and checked on deserialization (via
CGLibProxyFormat#canConvert(Class). |
| Constructor and Description |
|---|
CGLibProxySerializer() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canSerialize(Class<?> cls) |
Object |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<Object> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
Object obj) |
Copyright © 2010-2015. All Rights Reserved.