Uses of Class
py4j.Gateway
-
Packages that use Gateway Package Description py4j py4j.commands py4j.reflection -
-
Uses of Gateway in py4j
Fields in py4j declared as Gateway Modifier and Type Field Description protected Gateway
ClientServer. gateway
protected Gateway
PythonClient. gateway
Methods in py4j that return Gateway Modifier and Type Method Description Gateway
GatewayServer. getGateway()
Gateway
Py4JJavaServer. getGateway()
Gateway
Py4JPythonClientPerThread. getGateway()
Gateway
PythonClient. getGateway()
Methods in py4j with parameters of type Gateway Modifier and Type Method Description protected Py4JServerConnection
GatewayServer. createConnection(Gateway gateway, java.net.Socket socket)
Creates a server connection from a Python call to the Java side.protected Py4JServerConnection
JavaServer. createConnection(Gateway gateway, java.net.Socket socket)
GatewayServer.GatewayServerBuilder
GatewayServer.GatewayServerBuilder. gateway(Gateway gateway)
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. getPythonProxyHandler(java.lang.ClassLoader classLoader, java.lang.Class[] interfacesToImplement, java.lang.String objectId, Gateway gateway)
Deprecated.java.lang.Object
CallbackClient. getPythonServerEntryPoint(Gateway gateway, java.lang.Class[] interfacesToImplement)
java.lang.Object
Py4JPythonClient. getPythonServerEntryPoint(Gateway gateway, java.lang.Class[] interfacesToImplement)
Gets a reference to the entry point on the Python side.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
ClientServerConnection. initCommands(Gateway gateway, java.util.List<java.lang.Class<? extends Command>> commandsClazz)
Override this method to initialize custom commands.protected void
GatewayConnection. initCommands(Gateway gateway, java.util.List<java.lang.Class<? extends Command>> commandsClazz)
Override this method to initialize custom commands.void
Py4JPythonClientPerThread. setGateway(Gateway gateway)
void
PythonClient. setGateway(Gateway gateway)
Constructors in py4j with parameters of type Gateway Constructor Description ClientServerConnection(Gateway gateway, java.net.Socket socket, java.util.List<java.lang.Class<? extends Command>> customCommands, Py4JPythonClientPerThread pythonClient, Py4JJavaServer javaServer, int readTimeout)
ClientServerConnection(Gateway gateway, java.net.Socket socket, java.util.List<java.lang.Class<? extends Command>> customCommands, Py4JPythonClientPerThread pythonClient, Py4JJavaServer javaServer, int readTimeout, java.lang.String authToken)
GatewayConnection(Gateway gateway, java.net.Socket socket)
GatewayConnection(Gateway gateway, java.net.Socket socket, java.lang.String authToken, java.util.List<java.lang.Class<? extends Command>> customCommands, java.util.List<GatewayServerListener> listeners)
GatewayConnection(Gateway gateway, java.net.Socket socket, java.util.List<java.lang.Class<? extends Command>> customCommands, java.util.List<GatewayServerListener> listeners)
GatewayServer(Gateway gateway, int port, java.net.InetAddress address, int connectTimeout, int readTimeout, java.util.List<java.lang.Class<? extends Command>> customCommands, javax.net.ServerSocketFactory sSocketFactory)
PythonClient(Gateway gateway, java.util.List<java.lang.Class<? extends Command>> customCommands, int pythonPort, java.net.InetAddress pythonAddress, long minConnectionTime, java.util.concurrent.TimeUnit minConnectionTimeUnit, javax.net.SocketFactory socketFactory, Py4JJavaServer javaServer)
PythonClient(Gateway gateway, java.util.List<java.lang.Class<? extends Command>> customCommands, int pythonPort, java.net.InetAddress pythonAddress, long minConnectionTime, java.util.concurrent.TimeUnit minConnectionTimeUnit, javax.net.SocketFactory socketFactory, Py4JJavaServer javaServer, boolean enableMemoryManagement, int readTimeout)
PythonClient(Gateway gateway, java.util.List<java.lang.Class<? extends Command>> customCommands, int pythonPort, java.net.InetAddress pythonAddress, long minConnectionTime, java.util.concurrent.TimeUnit minConnectionTimeUnit, javax.net.SocketFactory socketFactory, Py4JJavaServer javaServer, boolean enableMemoryManagement, int readTimeout, java.lang.String authToken)
-
Uses of Gateway in py4j.commands
Fields in py4j.commands declared as Gateway Modifier and Type Field Description protected Gateway
AbstractCommand. gateway
Methods in py4j.commands with parameters of type Gateway Modifier and Type Method Description void
AbstractCommand. 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
DirCommand. init(Gateway gateway, Py4JServerConnection connection)
void
FieldCommand. init(Gateway gateway, Py4JServerConnection connection)
void
JVMViewCommand. init(Gateway gateway, Py4JServerConnection connection)
void
ReflectionCommand. init(Gateway gateway, Py4JServerConnection connection)
void
ShutdownGatewayServerCommand. init(Gateway gateway, Py4JServerConnection connection)
-
Uses of Gateway in py4j.reflection
Constructors in py4j.reflection with parameters of type Gateway Constructor Description PythonProxyHandler(java.lang.String id, Gateway gateway)
-