|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpy4j.DefaultGatewayServerListener
public class DefaultGatewayServerListener
This class implements a default GatewayServerListener. All operations do nothing by default. Clients can
extend this class to only override the methods they need.
| Constructor Summary | |
|---|---|
DefaultGatewayServerListener()
|
|
| 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(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultGatewayServerListener()
| Method Detail |
|---|
public void serverStarted()
serverStarted in interface GatewayServerListenerpublic void serverStopped()
GatewayServerListenerThis 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.
serverStopped in interface GatewayServerListenerpublic void serverError(Exception e)
GatewayServerListenerThis 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.
serverError in interface GatewayServerListenerpublic void serverPreShutdown()
serverPreShutdown in interface GatewayServerListenerpublic void serverPostShutdown()
GatewayServerListenerThis 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.
serverPostShutdown in interface GatewayServerListenerpublic void connectionStarted()
connectionStarted in interface GatewayServerListenerpublic void connectionStopped()
connectionStopped in interface GatewayServerListenerpublic void connectionError(Exception e)
connectionError in interface GatewayServerListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||