|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplyHandler
Objects implementing this interface provide the client specific functionality for handling results of the asynchronous device calls.
DeviceHandle
Method Summary | |
---|---|
void |
cancelled(SubscriptionRequest request)
Invoked when a subscription has been cancelled by the monitorOff call. |
void |
disconnected(SubscriptionRequest request)
Invoked when a subscription is suspended because of a lost connection to a remote device; for example, because the device server is down. |
void |
done(SetRequest request)
Invoked when a set call completes successfully. |
void |
handleException(Request request,
BadParameter exception)
Invoked on receipt of a reply containing the specified exception. |
void |
handleException(Request request,
InternalException exception)
Invoked on receipt of a reply containing the specified exception. |
void |
handleException(Request request,
IOError exception)
Invoked on receipt of a reply containing the specified exception. |
void |
handleException(Request request,
LostUpdates exception)
Invoked on reception of a reply containing information about lost updates. |
void |
handleException(Request request,
NoConnection exception)
Invoked if the connection to the device server has been lost while waiting for the reply. |
void |
handleException(Request request,
NoPermission exception)
Invoked on reception of a reply containing the RBAC exception. |
void |
handleException(Request request,
TimeOut exception)
Invoked if no reply to the request has been received within a certain time limit. |
void |
handleReply(Request request,
Data value)
Invoked when a property value is delivered as a result of a successful get or monitorOn call. |
void |
reconnected(SubscriptionRequest request)
Invoked when a suspended subscription has been resumed. |
Method Detail |
---|
void handleReply(Request request, Data value)
get
or monitorOn
call.
The value
Data may change after the call returns:
make a copy of the Data object if you need to store it in your
application.
void done(SetRequest request)
set
call completes successfully.
void disconnected(SubscriptionRequest request)
reconnected(cern.cmw.rda.client.SubscriptionRequest)
void reconnected(SubscriptionRequest request)
disconnected(cern.cmw.rda.client.SubscriptionRequest)
void cancelled(SubscriptionRequest request)
monitorOff
call.
void handleException(Request request, BadParameter exception)
void handleException(Request request, TimeOut exception)
void handleException(Request request, NoConnection exception)
void handleException(Request request, IOError exception)
void handleException(Request request, InternalException exception)
void handleException(Request request, NoPermission exception)
void handleException(Request request, LostUpdates exception)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |