|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.cmw.rda.client.group.GroupUpdateAdapter
public class GroupUpdateAdapter
Constructor Summary | |
---|---|
GroupUpdateAdapter()
|
Method Summary | |
---|---|
void |
confirmed(String deviceName)
Invoked when the subscription request is confirmed by the data provider. |
void |
disconnected(String deviceName)
Invoked when a confirmed subscription is suspended because of a lost connection to the data source. |
void |
handleError(String deviceName,
IOError err)
Invoked if an error occured when updating the value. |
void |
handleValue(String deviceName,
Data value)
Invoked when the subscribed value is updated. |
void |
reconnected(String deviceName)
Invoked when a suspended subscription is resumed. |
void |
rejected(String deviceName,
CmwException why)
Invoked when the subscription request is rejected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupUpdateAdapter()
Method Detail |
---|
public void handleValue(String deviceName, Data value)
GroupUpdateHandler
handleValue
in interface GroupUpdateHandler
value
- the Data object containing the updated value.public void handleError(String deviceName, IOError err)
GroupUpdateHandler
handleError
in interface GroupUpdateHandler
err
- the error description provided by the device server.public void rejected(String deviceName, CmwException why)
GroupUpdateHandler
rejected
in interface GroupUpdateHandler
why
- the exception thrown in response to the subscription request.public void confirmed(String deviceName)
GroupUpdateHandler
confirmed
in interface GroupUpdateHandler
GroupUpdateHandler.reconnected(java.lang.String)
public void disconnected(String deviceName)
GroupUpdateHandler
disconnected
in interface GroupUpdateHandler
GroupUpdateHandler.reconnected(java.lang.String)
public void reconnected(String deviceName)
GroupUpdateHandler
reconnected
in interface GroupUpdateHandler
GroupUpdateHandler.disconnected(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |