|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ClientConnectionStatusHandler
Interface implemented by all classes that desire to handle a connection status and notify others about status changes.
| Method Summary | |
|---|---|
void |
addClientConnectionStatusListener(ClientConnectionStatusListener listener)
Add a connection status listener to this connection's list of listeners. |
JPPFClientConnectionStatus |
getStatus()
Get the status of this connection. |
void |
removeClientConnectionStatusListener(ClientConnectionStatusListener listener)
Remove a connection status listener from this connection's list of listeners. |
void |
setStatus(JPPFClientConnectionStatus status)
Set the status of this connection. |
| Method Detail |
|---|
JPPFClientConnectionStatus getStatus()
JPPFClientConnectionStatus enumerated value.void setStatus(JPPFClientConnectionStatus status)
status - a JPPFClientConnectionStatus enumerated value.void addClientConnectionStatusListener(ClientConnectionStatusListener listener)
listener - the listener to add to the list.void removeClientConnectionStatusListener(ClientConnectionStatusListener listener)
listener - the listener to remove from the list.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||