Public Member Functions | |
virtual void | handleReply (const rdaRequest &request, const rdaData &value) |
Invoked on receipt of a reply containing the requested property value. | |
virtual void | done (const rdaRequest &request) |
Invoked when a set call completes successfully in the device server. | |
virtual void | disconnected (const rdaRequest &request) |
Invoked if a subscription has been suspended because of a lost connection to a remote device; for example, because the device server is down. | |
virtual void | reconnected (const rdaRequest &request) |
Invoked when a suspended subscription has been resumed. | |
virtual void | cancelled (const rdaRequest &request) |
Invoked when a subscription has been cancelled by the monitorOff call. | |
virtual void | handleException (const rdaRequest &request, const rdaBadParameter &exception) |
Invoked on receipt of a reply containing the specified exception. | |
virtual void | handleException (const rdaRequest &request, const rdaTimeOut &exception) |
Invoked if no reply to the request has been received within a certain time limit. | |
virtual void | handleException (const rdaRequest &request, const rdaNoConnection &exception) |
Invoked if the connection to the device server has been lost while waiting for the reply. | |
virtual void | handleException (const rdaRequest &request, const rdaIOError &exception) |
Invoked on receipt of a reply containing the specified exception. | |
virtual void | handleException (const rdaRequest &request, const rdaInternalException &exception) |
Invoked on receipt of a reply containing the specified exception. | |
virtual void | handleException (const rdaRequest &request, const rdaAccessDenied &exception) |
Invoked if the access is not authorized for specified operation. | |
virtual void | handleException (const rdaRequest &request, const rdaBadToken &exception) |
Invoked if token is malformed or its signature is incorrect. | |
virtual void | handleException (const rdaRequest &request, const rdaTokenExpired &exception) |
Invoked if token is expired. | |
virtual void | handleError (const rdaRequest &request, const rdaException &exception) |
Exists as a convinience for handling error replies. |
This class provides simple default implementations for all its methods, so users can only re-implement methods for the kinds of callbacks they care about (see "related device calls" in the methods documentation).
GetAsync.cpp, and Monitor.cpp.
|
Invoked when a subscription has been cancelled by the monitorOff call. Default implementation: empty. |
|
Invoked if a subscription has been suspended because of a lost connection to a remote device; for example, because the device server is down. Note that this is not a fatal error: connection will be automatically reestablished when the server is up again. Related device calls:
Default implementation: empty.
|
|
Invoked when a Related device calls:
Default implementation: empty. |
|
Exists as a convinience for handling error replies. By default, all calls to the overloaded handleException methods are delegated to this method. Default implementation: empty |
|
|
Invoked if token is malformed or its signature is incorrect. Related device calls:
|
|
Invoked if the access is not authorized for specified operation. Related device calls:
|
|
Invoked on receipt of a reply containing the specified exception. Related device calls:
|
|
|
Invoked if the connection to the device server has been lost while waiting for the reply. Related device calls:
|
|
Invoked if no reply to the request has been received within a certain time limit. Related device calls:
|
|
Invoked on receipt of a reply containing the specified exception. Related device calls:
|
|
Invoked on receipt of a reply containing the requested property value.
The Related device calls:
Default implementation: empty. |
|
Invoked when a suspended subscription has been resumed. Related device calls:
Default implementation: empty.
|