| 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 |
GatewayServer.createConnection(Gateway gateway,
Socket socket)
Creates a server connection from a Python call to the Java side.
|
protected Py4JServerConnection |
JavaServer.createConnection(Gateway gateway,
Socket socket) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultGatewayServerListener.connectionStarted(Py4JServerConnection gatewayConnection) |
void |
PythonClient.connectionStarted(Py4JServerConnection gatewayConnection) |
void |
GatewayServerListener.connectionStarted(Py4JServerConnection gatewayConnection) |
void |
DefaultGatewayServerListener.connectionStopped(Py4JServerConnection gatewayConnection) |
void |
GatewayServer.connectionStopped(Py4JServerConnection gatewayConnection) |
void |
PythonClient.connectionStopped(Py4JServerConnection gatewayConnection) |
void |
GatewayServerListener.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 |
ReflectionCommand.init(Gateway gateway,
Py4JServerConnection connection) |
void |
JVMViewCommand.init(Gateway gateway,
Py4JServerConnection connection) |
void |
ShutdownGatewayServerCommand.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 |
DirCommand.init(Gateway gateway,
Py4JServerConnection connection) |
void |
FieldCommand.init(Gateway gateway,
Py4JServerConnection connection) |
Copyright © 2018. All rights reserved.