MessageSerializer Class

  • java.lang.Object
    • microsoft.servicefabric.services.remoting.builder.MessageSerializer

public class MessageSerializer

Base class for Actor and Service Message Serializer classes. For internal use only.

Method Summary

Modifier and Type Method and Description
Object deserialize(byte[] buffer)

Message deserialize method.

byte [] serialize(Object msg)

Message serialize method.

Method Details

deserialize

protected static Object deserialize(byte[] buffer)

Message deserialize method.

Parameters:

buffer - Message buffer to be deserialized.

Returns:

Deserialized object.

serialize

protected static byte [] serialize(Object msg)

Message serialize method.

Parameters:

msg - message object to be serialized.

Returns:

serialized byte array.

Applies to