|
| opClientConnection () |
| Initializes the instance without opening a client connection.
|
|
| opClientConnection (string ip, int port) |
| Initializes the instance and opens a client connection. More...
|
|
void | open (string ip, int port) |
| Opens and registers a client connection to a master. More...
|
|
void | close () |
| Closes the client connection. More...
|
|
string | sendRequest (string serviceId, string request) |
| Sends an asynchronous request. More...
|
|
string | receiveReply (string requestId, int timeoutMs) |
| Receives a reply to an asynchronous request. More...
|
|
void | deleteRequest (string requestId) |
| Deletes the record of a request. More...
|
|
string | sendRecvDelete (string serviceId, string request, int timeoutMs) |
| Sends a request and waits for the reply. More...
|
|
This class provides an interface for sending requests and receiving replies.
- Attention
- An opClientConnection object is NOT thread-safe, meaning that while you are allowed to use the object in multiple threads, you must ensure that you are not calling its methods simultaneously in multiple threads.