ServiceRemotingMessageHandler 接口

定义

Defines the interface that must be implemented by the ServiceRemotingListener to receive messages from the remoting transport.

public interface ServiceRemotingMessageHandler

方法

handleOneWay(ServiceRemotingRequestContext requestContext, ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)

Handles a one way message from the client.

requestResponseAsync(ServiceRemotingRequestContext requestContext, ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)

Handles a message from the client that requires a response from the service.

适用于