Package py4j
Interface GatewayServerListener
- All Known Implementing Classes:
DefaultGatewayServerListener
,GatewayServer
,JavaServer
,PythonClient
public interface GatewayServerListener
A client can implement this listener to be notified of Gateway events.
- Author:
- Barthelemy Dagenais
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
connectionStarted
(Py4JServerConnection gatewayConnection) void
connectionStopped
(Py4JServerConnection gatewayConnection) void
This method may be called concurrently with serverPostShutdown().void
This method may be called concurrently with serverStopped() and serverError().void
void
void
This method may be called concurrently with serverPostShutdown().
-
Method Details
-
connectionError
-
connectionStarted
-
connectionStopped
-
serverError
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.
-