Uses of Interface
org.drasyl.serialization.Serializer
-
Packages that use Serializer Package Description org.drasyl Core API that includes theDrasylNode
andDrasylConfig
.org.drasyl.pipeline.serialization Package contains classes that are used for serialisation of message to byte arrays and vice vera.org.drasyl.serialization Serialization of java objects to byte arrays and vice versa. -
-
Uses of Serializer in org.drasyl
Methods in org.drasyl that return types with arguments of type Serializer Modifier and Type Method Description Map<String,Serializer>
DrasylConfig. getSerializationSerializers()
static Map<String,Serializer>
DrasylConfig. getSerializationSerializers(com.typesafe.config.Config config, String path)
Method parameters in org.drasyl with type arguments of type Serializer Modifier and Type Method Description DrasylConfig.Builder
DrasylConfig.Builder. serializationSerializers(Map<String,Serializer> serializationSerializers)
-
Uses of Serializer in org.drasyl.pipeline.serialization
Methods in org.drasyl.pipeline.serialization that return Serializer Modifier and Type Method Description Serializer
Serialization. findSerializerFor(String clazzName)
Returns the configuredSerializer
for the givenclazzName
.Methods in org.drasyl.pipeline.serialization with parameters of type Serializer Modifier and Type Method Description void
Serialization. addSerializer(Class<?> clazz, Serializer serializer)
Adds aserializer
as serializer for objects of typeclazz
.void
Serialization. removeSerializer(Serializer serializer)
Removes given serializer fromConstructor parameters in org.drasyl.pipeline.serialization with type arguments of type Serializer Constructor Description Serialization(Map<String,Serializer> serializers, Map<Class<?>,String> bindings)
-
Uses of Serializer in org.drasyl.serialization
Classes in org.drasyl.serialization that implement Serializer Modifier and Type Class Description class
BooleanSerializer
This Serializer (de)serializesBoolean
objects.class
ByteArraySerializer
This Serializer (de)serializes byte arrays (just returns the byte array unchanged/uncopied).class
ByteSerializer
This Serializer (de)serializesByte
objects.class
CharacterSerializer
This Serializer (de)serializesCharacter
objects.class
DisabledSerializer
This handler denies any (de)serialization and can be used to disable existing serializers.class
DoubleSerializer
This Serializer (de)serializesDouble
objects.class
FloatSerializer
This Serializer (de)serializesFloat
objects.class
IntegerSerializer
This Serializer (de)serializesInteger
objects.class
JacksonJsonSerializer
A serializer based on the Jackson Library for converting java objects to and from JSON.class
JavaSerializer
This Serializer (de)serializesSerializable
objects.class
LongSerializer
This Serializer (de)serializesLong
objects.class
NullSerializer
This Serializer (de)serializesnull
only.class
ProtobufSerializer
This Serializer (de)serializesMessage
objects.class
ShortSerializer
This Serializer (de)serializesInteger
objects.class
StringSerializer
This Serializer (de)serializesString
objects.
-