Uses of Class
py4j.Gateway
Packages that use Gateway
-
Uses of Gateway in py4j
Modifier and TypeFieldDescriptionprotected final Gateway
ClientServer.gateway
protected Gateway
PythonClient.gateway
Modifier and TypeMethodDescriptionGatewayServer.getGateway()
Py4JJavaServer.getGateway()
Py4JPythonClientPerThread.getGateway()
PythonClient.getGateway()
Modifier and TypeMethodDescriptionprotected 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) static final Object
static Object
Protocol.getPythonProxy
(String commandPart, Gateway gateway) Assumes that commandPart is not empty.static Object
Protocol.getPythonProxyHandler
(ClassLoader classLoader, Class[] interfacesToImplement, String objectId, Gateway gateway) Deprecated.CallbackClient.getPythonServerEntryPoint
(Gateway gateway, Class[] interfacesToImplement) Py4JPythonClient.getPythonServerEntryPoint
(Gateway gateway, Class[] interfacesToImplement) Gets a reference to the entry point on the Python side.static final Object
Protocol.getReference
(String commandPart, Gateway gateway) Assumes that commandPart is not empty.static final Object
Protocol.getReturnValue
(String returnMessage, Gateway gateway) protected void
ClientServerConnection.initCommands
(Gateway gateway, List<Class<? extends Command>> commandsClazz) Override this method to initialize custom commands.protected void
GatewayConnection.initCommands
(Gateway gateway, List<Class<? extends Command>> commandsClazz) Override this method to initialize custom commands.void
Py4JPythonClientPerThread.setGateway
(Gateway gateway) void
PythonClient.setGateway
(Gateway gateway) ModifierConstructorDescriptionClientServerConnection
(Gateway gateway, Socket socket, List<Class<? extends Command>> customCommands, Py4JPythonClientPerThread pythonClient, Py4JJavaServer javaServer, int readTimeout) ClientServerConnection
(Gateway gateway, Socket socket, List<Class<? extends Command>> customCommands, Py4JPythonClientPerThread pythonClient, Py4JJavaServer javaServer, int readTimeout, String authToken) GatewayConnection
(Gateway gateway, Socket socket) GatewayConnection
(Gateway gateway, Socket socket, String authToken, List<Class<? extends Command>> customCommands, List<GatewayServerListener> listeners) GatewayConnection
(Gateway gateway, Socket socket, List<Class<? extends Command>> customCommands, List<GatewayServerListener> listeners) GatewayServer
(Gateway gateway, int port, InetAddress address, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands, ServerSocketFactory sSocketFactory) PythonClient
(Gateway gateway, List<Class<? extends Command>> customCommands, int pythonPort, InetAddress pythonAddress, long minConnectionTime, TimeUnit minConnectionTimeUnit, SocketFactory socketFactory, Py4JJavaServer javaServer) PythonClient
(Gateway gateway, List<Class<? extends Command>> customCommands, int pythonPort, InetAddress pythonAddress, long minConnectionTime, TimeUnit minConnectionTimeUnit, SocketFactory socketFactory, Py4JJavaServer javaServer, boolean enableMemoryManagement, int readTimeout) PythonClient
(Gateway gateway, List<Class<? extends Command>> customCommands, int pythonPort, InetAddress pythonAddress, long minConnectionTime, TimeUnit minConnectionTimeUnit, SocketFactory socketFactory, Py4JJavaServer javaServer, boolean enableMemoryManagement, int readTimeout, String authToken) -
Uses of Gateway in py4j.commands
Fields in py4j.commands declared as GatewayMethods in py4j.commands with parameters of type GatewayModifier and TypeMethodDescriptionvoid
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