public class GrpcSerializedObject extends Object implements SerializedObject<byte[]>
SerializedObject
message as a SerializedObject
.Constructor and Description |
---|
GrpcSerializedObject(io.axoniq.axonserver.grpc.SerializedObject serializedObject)
|
Modifier and Type | Method and Description |
---|---|
Class<byte[]> |
getContentType()
Returns the type of this representation's data.
|
byte[] |
getData()
The actual data of the serialized object.
|
SerializedType |
getType()
Returns the description of the type of object contained in the data.
|
public GrpcSerializedObject(io.axoniq.axonserver.grpc.SerializedObject serializedObject)
serializedObject
- a SerializedObject
which will be wrapped as a SerializedObject
public Class<byte[]> getContentType()
SerializedObject
getContentType
in interface SerializedObject<byte[]>
public SerializedType getType()
SerializedObject
getType
in interface SerializedObject<byte[]>
public byte[] getData()
SerializedObject
getData
in interface SerializedObject<byte[]>
Copyright © 2010–2024. All rights reserved.