你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MethodDispatcherBaseWithSerializer Class

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:

requestMsgBodyBytes - request msg body buffer

Returns:

A deserialized Object

serializeResponseMessageBody

protected abstract byte [] serializeResponseMessageBody(Object responseMsgBody)

This method is implemented by the remoting code generator to serialize the response object

Parameters:

responseMsgBody - response msg body object.

Returns:

serialized byte array.

Applies to