Modifier and Type | Method and Description |
---|---|
protected GatewayConnection |
GatewayServer.createConnection(Gateway gateway,
Socket socket) |
static Object |
Protocol.getObject(String commandPart,
Gateway gateway) |
static Object |
Protocol.getPythonProxy(String commandPart,
Gateway gateway)
Assumes that commandPart is not empty.
|
static Object |
Protocol.getReference(String commandPart,
Gateway gateway)
Assumes that commandPart is not empty.
|
static Object |
Protocol.getReturnValue(String returnMessage,
Gateway gateway) |
protected void |
GatewayConnection.initCommands(Gateway gateway,
List<Class<? extends py4j.commands.Command>> commandsClazz)
Override this method to initialize custom commands.
|
Constructor and Description |
---|
GatewayConnection(Gateway gateway,
Socket socket) |
GatewayConnection(Gateway gateway,
Socket socket,
List<Class<? extends py4j.commands.Command>> customCommands,
List<GatewayServerListener> listeners) |