|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GatewayServerListener
A client can implement this listener to be notified of Gateway events.
Method Summary | |
---|---|
void |
connectionError(Exception e)
|
void |
connectionStarted()
|
void |
connectionStopped()
|
void |
serverError(Exception e)
This method may be called concurrently with serverPostShutdown(). |
void |
serverPostShutdown()
This method may be called concurrently with serverStopped() and serverError(). |
void |
serverPreShutdown()
|
void |
serverStarted()
|
void |
serverStopped()
This method may be called concurrently with serverPostShutdown(). |
Method Detail |
---|
void serverStarted()
void serverStopped()
This method may be called concurrently with serverPostShutdown().
Typically a one thread calls shutdown() and then, the thread running the GatewayServer breaks from the connection accept loop.
void serverError(Exception e)
This method may be called concurrently with serverPostShutdown().
Typically a one thread calls shutdown() and then, the thread running the GatewayServer breaks from the connection accept loop.
void serverPreShutdown()
void serverPostShutdown()
This method may be called concurrently with serverStopped() and serverError().
Typically a one thread calls shutdown() and then, the thread running the GatewayServer breaks from the connection accept loop.
void connectionStarted()
void connectionStopped()
void connectionError(Exception e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |