public class KryoAMQPSerializer
This Kryo custom Serializer switches the object graph of anything annotated with @CordaSerializable
to using the AMQP serialization wire format, and simply writes that out as bytes to the wire.
There is no need to write out the length, since this can be peeked out of the first few bytes of the stream.
Modifier and Type | Field and Description |
---|---|
static KryoAMQPSerializer |
INSTANCE
This Kryo custom Serializer switches the object graph of anything annotated with
@CordaSerializable
to using the AMQP serialization wire format, and simply writes that out as bytes to the wire. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
java.lang.Class<java.lang.Object> type) |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
java.lang.Object obj) |
public static KryoAMQPSerializer INSTANCE
This Kryo custom Serializer switches the object graph of anything annotated with @CordaSerializable
to using the AMQP serialization wire format, and simply writes that out as bytes to the wire.
There is no need to write out the length, since this can be peeked out of the first few bytes of the stream.