Uses of Interface
py4j.commands.Command
-
Packages that use Command Package Description py4j py4j.commands -
-
Uses of Command in py4j
Fields in py4j with type parameters of type Command Modifier and Type Field Description protected java.util.Map<java.lang.String,Command>
ClientServerConnection. commands
protected java.util.Map<java.lang.String,Command>
GatewayConnection. commands
protected java.util.List<java.lang.Class<? extends Command>>
PythonClient. customCommands
Methods in py4j that return types with arguments of type Command Modifier and Type Method Description static java.util.List<java.lang.Class<? extends Command>>
GatewayConnection. getBaseCommands()
java.util.List<java.lang.Class<? extends Command>>
GatewayServer. getCustomCommands()
Method parameters in py4j with type arguments of type Command Modifier and Type Method Description GatewayServer.GatewayServerBuilder
GatewayServer.GatewayServerBuilder. customCommands(java.util.List<java.lang.Class<? extends Command>> customCommands)
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.Constructor parameters in py4j with type arguments of type Command 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, 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(java.lang.Object entryPoint, int port, int pythonPort, int connectTimeout, int readTimeout, java.util.List<java.lang.Class<? extends Command>> customCommands)
GatewayServer(java.lang.Object entryPoint, int port, int connectTimeout, int readTimeout, java.util.List<java.lang.Class<? extends Command>> customCommands, Py4JPythonClient cbClient)
GatewayServer(java.lang.Object entryPoint, int port, int pythonPort, java.net.InetAddress address, java.net.InetAddress pythonAddress, int connectTimeout, int readTimeout, java.util.List<java.lang.Class<? extends Command>> customCommands)
GatewayServer(java.lang.Object entryPoint, int port, java.net.InetAddress address, int connectTimeout, int readTimeout, java.util.List<java.lang.Class<? extends Command>> customCommands, Py4JPythonClient cbClient)
GatewayServer(java.lang.Object entryPoint, int port, java.net.InetAddress address, int connectTimeout, int readTimeout, java.util.List<java.lang.Class<? extends Command>> customCommands, Py4JPythonClient cbClient, javax.net.ServerSocketFactory sSocketFactory)
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)
JavaServer(java.lang.Object entryPoint, int port, int connectTimeout, int readTimeout, java.util.List<java.lang.Class<? extends Command>> customCommands, Py4JPythonClientPerThread pythonClient)
JavaServer(java.lang.Object entryPoint, int port, int connectTimeout, int readTimeout, java.util.List<java.lang.Class<? extends Command>> customCommands, Py4JPythonClientPerThread pythonClient, java.lang.String authToken)
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 Command in py4j.commands
Classes in py4j.commands that implement Command Modifier and Type Class Description class
AbstractCommand
Abstract base class for commands.class
ArrayCommand
A ArrayCommand is responsible for handling operations on arrays.class
AuthCommand
The auth command is responsible for checking that the client knows the server's auth secret.class
CallCommand
A CallCommand is responsible for parsing a call command and calling the method on the target object.class
ConstructorCommand
A ConstructorCommand is responsible for calling the constructors of a Java class.class
DirCommand
class
ExceptionCommand
class
FieldCommand
A FieldCommand is responsible for accessing and setting fields of objects.class
HelpPageCommand
A HelpPageCommand is responsible for generating a help page for a Java object or Java class.class
JVMViewCommand
A JVMViewCommand is responsible for managing JVM views: creating views, adding imports, searching for fully qualified names.class
ListCommand
A ListCommand is responsible for handling operations on lists (e.g., slicing).class
MemoryCommand
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
ReflectionCommand
The ReflectionCommand is responsible for accessing packages, classes, and static members.class
ShutdownGatewayServerCommand
The ShutdownGatewayServerCommand is responsible for shutting down the GatewayServer.class
StreamCommand
AStreamCommand
is like aCallCommand
, but returns the value directly.
-