MethodDispatcherBaseWithSerializer Class
- java.
lang. Object - MethodDispatcher
- MethodDispatcherBase
- microsoft.
servicefabric. services. remoting. builder. MethodDispatcherBaseWithSerializer
- microsoft.
public class MethodDispatcherBaseWithSerializer extends MethodDispatcherBase
The class dispatches the requests from the client to the interface/method of the remoted objectts. This class is used by remoting code generator. This class caches the Serializer.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Object |
deserializeRequestMessageBody(byte[] requestMsgBodyBytes)
This method is implemented by remoting code generator to deserialize the request message. |
abstract byte [] |
serializeResponseMessageBody(Object responseMsgBody)
This method is implemented by the remoting code generator to serialize the response object |
Inherited Members
Method Details
deserializeRequestMessageBody
protected abstract Object deserializeRequestMessageBody(byte[] requestMsgBodyBytes)
This method is implemented by remoting code generator to deserialize the request message.
Parameters:
Returns:
serializeResponseMessageBody
protected abstract byte [] serializeResponseMessageBody(Object responseMsgBody)
This method is implemented by the remoting code generator to serialize the response object
Parameters:
Returns:
Applies to
Azure SDK for Java