|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.cmw.rda.client.ReplyAdapter
cern.cmw.rda.examples.SimpleReplyHandler
public class SimpleReplyHandler
Constructor Summary | |
---|---|
SimpleReplyHandler()
|
Method Summary | |
---|---|
void |
cancelled(SubscriptionRequest request)
Invoked when a data subscription is cancelled by a 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 |
handleError(Request request,
CmwException exception)
This method is called by default implementations of the handleException methods. |
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. |
Methods inherited from class cern.cmw.rda.client.ReplyAdapter |
---|
done, handleException, handleException, handleException, handleException, handleException, handleException, handleException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleReplyHandler()
Method Detail |
---|
public void handleReply(Request request, Data value)
ReplyAdapter
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.
Implementation: empty.
handleReply
in interface ReplyHandler
handleReply
in class ReplyAdapter
public void handleError(Request request, CmwException exception)
ReplyAdapter
Implementation: empty
handleError
in class ReplyAdapter
public void disconnected(SubscriptionRequest request)
ReplyAdapter
Implementation: empty.
disconnected
in interface ReplyHandler
disconnected
in class ReplyAdapter
ReplyHandler.reconnected(cern.cmw.rda.client.SubscriptionRequest)
public void reconnected(SubscriptionRequest request)
ReplyAdapter
Implementation: empty.
reconnected
in interface ReplyHandler
reconnected
in class ReplyAdapter
ReplyHandler.disconnected(cern.cmw.rda.client.SubscriptionRequest)
public void cancelled(SubscriptionRequest request)
ReplyAdapter
monitorOff
call.
Implementation: empty.
cancelled
in interface ReplyHandler
cancelled
in class ReplyAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |