|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerStatusListener
A receiver of server connection status changes. Objects which need
to receive server connection status changes must implement this
interface, as well as register themselves with a client via Client.addServerStatusListener(ServerStatusListener).
It's expected that listeners will take a short time to return because all listeners are invoked sequentially. If a listener takes too much time to process a status change, it will delay the status delivery to other registered listeners.
| Method Summary | |
|---|---|
void |
receiveServerStatus(boolean status)
Supplies the server connection status to the receiver. |
| Method Detail |
|---|
void receiveServerStatus(boolean status)
status - The status: true means the server connection is
alive.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||