|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addListener(Signalable o)
Clients can call this to add themselves as a listener to this type of event |
int |
getCount()
Get a count of all the events sent out |
boolean |
isDeviceThere()
query the shadow as to whether or not the device is still connected. |
void |
notifySubscribers()
Send a null event out to all subscribers |
void |
notifySubscribers(java.lang.Object information)
Send a specific object out to the subscribers |
boolean |
removeListener(Signalable o)
Clients can call this to remove themselves as listeners of this event |
Methods inherited from interface net.hivecell.hive.shadow.SerialStreamShadow |
getBaudRate,
getSerialPort,
setBaudRate,
setSerialPort |
Method Detail |
public void addListener(Signalable o)
o
- the clientpublic boolean removeListener(Signalable o)
o
- the clientpublic int getCount()
public void notifySubscribers()
public void notifySubscribers(java.lang.Object information)
information
- the object to sendpublic boolean isDeviceThere()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |