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