ServiceRemotingCallbackClient 接口

定义

Defines the interface that must be implemented for providing callback mechanism from the remoting listener to the client.

public interface ServiceRemotingCallbackClient

方法

oneWayMessage(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)

Sends a one way message to the client.

requestResponseAsync(ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody)

Sends a message to the client and gets the response.

适用于