Package | Description |
---|---|
py4j | |
py4j.commands | |
py4j.reflection |
Modifier and Type | Method and Description |
---|---|
protected GatewayConnection |
GatewayServer.createConnection(Gateway gateway,
java.net.Socket socket) |
static java.lang.Object |
Protocol.getObject(java.lang.String commandPart,
Gateway gateway) |
static java.lang.Object |
Protocol.getPythonProxy(java.lang.String commandPart,
Gateway gateway)
Assumes that commandPart is not empty.
|
static java.lang.Object |
Protocol.getReference(java.lang.String commandPart,
Gateway gateway)
Assumes that commandPart is not empty.
|
static java.lang.Object |
Protocol.getReturnValue(java.lang.String returnMessage,
Gateway gateway) |
protected void |
GatewayConnection.initCommands(Gateway gateway,
java.util.List<java.lang.Class<? extends Command>> commandsClazz)
Override this method to initialize custom commands.
|
Constructor and Description |
---|
GatewayConnection(Gateway gateway,
java.net.Socket socket) |
GatewayConnection(Gateway gateway,
java.net.Socket socket,
java.util.List<java.lang.Class<? extends Command>> customCommands,
java.util.List<GatewayServerListener> listeners) |
Modifier and Type | Field and Description |
---|---|
protected Gateway |
AbstractCommand.gateway |
Modifier and Type | Method and Description |
---|---|
void |
ShutdownGatewayServerCommand.init(Gateway gateway) |
void |
DirCommand.init(Gateway gateway) |
void |
JVMViewCommand.init(Gateway gateway) |
void |
AbstractCommand.init(Gateway gateway) |
void |
Command.init(Gateway gateway)
Called when a command instance is created and assigned to a connection.
|
void |
FieldCommand.init(Gateway gateway) |
void |
ReflectionCommand.init(Gateway gateway) |
Constructor and Description |
---|
PythonProxyHandler(java.lang.String id,
Gateway gateway) |