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 py4j.commands.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 py4j.commands.Command>> customCommands,
java.util.List<GatewayServerListener> listeners) |