ServerChannelSendRequest Method (String, Object, ReplyListener, Object) |
Namespace: OBCOM.NetClient
public int SendRequest( string service, Object request, ReplyListener listener, Object context )
The request data is converted to a string using the standard method ToString, therefore any object can be used as request data.
The reply message of this transaction request will be dispatched by calling the supplied listener delegate.
The service argument has one of the following formats:
{HostName.}ServerName.TranName {HostName.}ServerName.[TranCode]
where optional items are shown within "{" and "}" brackets, and the characters ".", "[" and "]" stand for themselves.
If the optional HostName is not specified, the default HostName is used. TranName is the name of the requested transaction, while TranCode is and alternative one-character identification of the same transaction. Either TranName or TranCode must be specified. Some examples:
ECUSER.[!] ACASER.ACA-TIME HUB.IMSER.AddContact