Package py4j
Interface GatewayServerListener
-
- All Known Implementing Classes:
DefaultGatewayServerListener,GatewayServer,JavaServer,PythonClient
public interface GatewayServerListenerA client can implement this listener to be notified of Gateway events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconnectionError(java.lang.Exception e)voidconnectionStarted(Py4JServerConnection gatewayConnection)voidconnectionStopped(Py4JServerConnection gatewayConnection)voidserverError(java.lang.Exception e)This method may be called concurrently with serverPostShutdown().voidserverPostShutdown()This method may be called concurrently with serverStopped() and serverError().voidserverPreShutdown()voidserverStarted()voidserverStopped()This method may be called concurrently with serverPostShutdown().
-
-
-
Method Detail
-
connectionError
void connectionError(java.lang.Exception e)
-
connectionStarted
void connectionStarted(Py4JServerConnection gatewayConnection)
-
connectionStopped
void connectionStopped(Py4JServerConnection gatewayConnection)
-
serverError
void serverError(java.lang.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.
-
serverPostShutdown
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.
-
serverPreShutdown
void serverPreShutdown()
-
serverStarted
void serverStarted()
-
serverStopped
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.
-
-