Package org.drasyl.pipeline.codec
Package contains classes that are used for encoding/decoding objects.
-
Class Summary Class Description ApplicationMessage2ObjectHolderHandler Handler that converts a givenApplicationMessage
to anObjectHolder
.Codec<E,D,A extends Address> Standard interface for all codecs of thePipeline
.DefaultCodec This default codec allows to encode/decode all supported objects by Jackson.ObjectHolder Simple class that holds a serialized object as byte array and the corresponding class of the deserialized object.ObjectHolder2ApplicationMessageHandler Handler that convert a givenObjectHolder
to anApplicationMessage
.TypeValidator TheTypeValidator
allows to define which classes and packages may be handled by a codec.