An application uses a requestor to send a request message and then wait for, and receive, the reply.
xms::PropertyContext | +----xms::Requestor
Constructor | Description |
---|---|
Requestor | Create a requestor. |
Requestor(const Session & session, const Destination & destination);
Method | Description |
---|---|
close | Close the requestor. |
getHandle | Get the handle that a C application would use to access the requestor. |
isNull | Determine whether the Requestor object is a null object. |
request | Send a request message and then wait for, and receive, a reply from the application that receives the request message. |
xmsVOID close();
If an application tries to close a requestor that is already closed, the call is ignored.
Message * request(const Message & requestMessage) const;
Send a request message and then wait for, and receive, a reply from the application that receives the request message.
A call to this method blocks until a reply is received or until the session ends, whichever is the sooner.