Uses of Interface
py4j.commands.Command
Packages that use Command
-
Uses of Command in py4j
Modifier and TypeFieldDescriptionClientServerConnection.commands
GatewayConnection.commands
PythonClient.customCommands
Modifier and TypeMethodDescriptionGatewayConnection.getBaseCommands()
GatewayServer.getCustomCommands()
Modifier and TypeMethodDescriptionGatewayServer.GatewayServerBuilder.customCommands
(List<Class<? extends Command>> customCommands) 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.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, String authToken, List<Class<? extends Command>> customCommands, List<GatewayServerListener> listeners) GatewayConnection
(Gateway gateway, Socket socket, List<Class<? extends Command>> customCommands, List<GatewayServerListener> listeners) GatewayServer
(Object entryPoint, int port, int pythonPort, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands) GatewayServer
(Object entryPoint, int port, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands, Py4JPythonClient cbClient) GatewayServer
(Object entryPoint, int port, int pythonPort, InetAddress address, InetAddress pythonAddress, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands) GatewayServer
(Object entryPoint, int port, InetAddress address, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands, Py4JPythonClient cbClient) GatewayServer
(Object entryPoint, int port, InetAddress address, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands, Py4JPythonClient cbClient, ServerSocketFactory sSocketFactory) GatewayServer
(Gateway gateway, int port, InetAddress address, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands, ServerSocketFactory sSocketFactory) JavaServer
(Object entryPoint, int port, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands, Py4JPythonClientPerThread pythonClient) JavaServer
(Object entryPoint, int port, int connectTimeout, int readTimeout, List<Class<? extends Command>> customCommands, Py4JPythonClientPerThread pythonClient, String authToken) 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 Command in py4j.commands
Classes in py4j.commands that implement CommandModifier and TypeClassDescriptionclass
Abstract base class for commands.class
A ArrayCommand is responsible for handling operations on arrays.class
The auth command is responsible for checking that the client knows the server's auth secret.class
A CallCommand is responsible for parsing a call command and calling the method on the target object.class
A ConstructorCommand is responsible for calling the constructors of a Java class.class
class
class
A FieldCommand is responsible for accessing and setting fields of objects.class
A HelpPageCommand is responsible for generating a help page for a Java object or Java class.class
A JVMViewCommand is responsible for managing JVM views: creating views, adding imports, searching for fully qualified names.class
A ListCommand is responsible for handling operations on lists (e.g., slicing).class
The MemoryCommand is responsible for handling garbage collection requests from the Python side, i.e., when a java object is no longer used by the Python program.class
The ReflectionCommand is responsible for accessing packages, classes, and static members.class
The ShutdownGatewayServerCommand is responsible for shutting down the GatewayServer.class
AStreamCommand
is like aCallCommand
, but returns the value directly.