| RequestEventSendSubRequest Method (String, Object, ReplyHandler, Int32, String) |
Sends a subrequest message to a destination.
Namespace:
OBCOM.NetSwitchLib.Servers
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax public void SendSubRequest(
string destination,
Object data,
ReplyHandler handler,
int timeout,
string replyKey
)
Public Sub SendSubRequest (
destination As String,
data As Object,
handler As ReplyHandler,
timeout As Integer,
replyKey As String
)
Parameters
- destination
- Type: SystemString
The destination of the subrequest message.
- data
- Type: SystemObject
The data to include in the subrequest message (can be null).
- handler
- Type: OBCOM.NetSwitchLib.ServersReplyHandler
The handler called with the asynchronous reply message is received.
- timeout
- Type: SystemInt32
The maximum time to wait for the reply (milliseconds).
- replyKey
- Type: SystemString
A globally unique value that identifies the reply (can be null).
Exceptions Remarks
This methods calls handler when the asynchronous
reply message is received. This method waits forever for the reply.
See Also