ClientSlotSendTransaction Method (String, Object, Boolean, Boolean, Int32) |
Namespace: OBCOM.NetClient
public Message SendTransaction( string service, Object request, bool encrypted, bool signed, int timeout )
The request data is converted to a string using the standard method ToString, hence any Object can be used as request data.
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, then the default HostName is used. TranName is the name of the requested transaction, and 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
The timeout specifies the amount of milliseconds to wait (more or less) for the reply message. If timeout is zero, however, the call simply waits forever for the reply message.