Class GrpcObjectSerializer<O>
java.lang.Object
org.axonframework.axonserver.connector.util.GrpcObjectSerializer<O>
- All Implemented Interfaces:
Function<O,io.axoniq.axonserver.grpc.SerializedObject>
public class GrpcObjectSerializer<O>
extends Object
implements Function<O,io.axoniq.axonserver.grpc.SerializedObject>
Mapping that translates an object into a GRPC
SerializedObject.- Since:
- 4.0
- Author:
- Sara Pellegrini
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceContract towards serializing an object of typeA. -
Constructor Summary
ConstructorsConstructorDescriptionGrpcObjectSerializer(Serializer serializer) Constructs aGrpcObjectSerializerusing the givenserializerto serialize the payload and type of given objects with. -
Method Summary
-
Constructor Details
-
GrpcObjectSerializer
Constructs aGrpcObjectSerializerusing the givenserializerto serialize the payload and type of given objects with.- Parameters:
serializer- theSerializerused to serialize the payload and type of given objects with
-
-
Method Details