ServerChannelSendRequest Method (String, Object, ReplyListener) |
Sends an asynchronous transaction to the specified service with supplied request data and
listener.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax public int SendRequest(
string service,
Object request,
ReplyListener listener
)
Public Function SendRequest (
service As String,
request As Object,
listener As ReplyListener
) As Integer
Parameters
- service
- Type: SystemString
The name of the transaction service.
- request
- Type: SystemObject
The data of the transaction request.
- listener
- Type: OBCOM.NetClientReplyListener
Called when the asynchronous reply is recieved.
Return Value
Type:
Int32
The unique sequence number of the request.
Remarks
This is a convenience method implemented by the following call:
return SendRequest(service, request, listener, null);
See Also