Package | Description |
---|---|
py4j | |
py4j.commands |
Modifier and Type | Class and Description |
---|---|
class |
ClientServerConnection |
class |
GatewayConnection
Manage the connection between a Python program and a Gateway.
|
Modifier and Type | Method and Description |
---|---|
protected Py4JServerConnection |
JavaServer.createConnection(Gateway gateway,
java.net.Socket socket) |
protected Py4JServerConnection |
GatewayServer.createConnection(Gateway gateway,
java.net.Socket socket)
Creates a server connection from a Python call to the Java side.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultGatewayServerListener.connectionStarted(Py4JServerConnection gatewayConnection) |
void |
GatewayServerListener.connectionStarted(Py4JServerConnection gatewayConnection) |
void |
PythonClient.connectionStarted(Py4JServerConnection gatewayConnection) |
void |
DefaultGatewayServerListener.connectionStopped(Py4JServerConnection gatewayConnection) |
void |
GatewayServerListener.connectionStopped(Py4JServerConnection gatewayConnection) |
void |
GatewayServer.connectionStopped(Py4JServerConnection gatewayConnection) |
void |
PythonClient.connectionStopped(Py4JServerConnection gatewayConnection) |
protected void |
GatewayServer.fireConnectionStarted(Py4JServerConnection gatewayConnection) |
Modifier and Type | Field and Description |
---|---|
protected Py4JServerConnection |
AbstractCommand.connection |
Modifier and Type | Method and Description |
---|---|
void |
JVMViewCommand.init(Gateway gateway,
Py4JServerConnection connection) |
void |
ReflectionCommand.init(Gateway gateway,
Py4JServerConnection connection) |
void |
DirCommand.init(Gateway gateway,
Py4JServerConnection connection) |
void |
FieldCommand.init(Gateway gateway,
Py4JServerConnection connection) |
void |
Command.init(Gateway gateway,
Py4JServerConnection connection)
Called when a command instance is created and assigned to a connection.
|
void |
AbstractCommand.init(Gateway gateway,
Py4JServerConnection connection) |
void |
ShutdownGatewayServerCommand.init(Gateway gateway,
Py4JServerConnection connection) |