Package py4j.commands
package py4j.commands
-
ClassDescriptionAbstract base class for commands.A ArrayCommand is responsible for handling operations on arrays.The auth command is responsible for checking that the client knows the server's auth secret.A CallCommand is responsible for parsing a call command and calling the method on the target object.This interface must be implemented by all commands.A ConstructorCommand is responsible for calling the constructors of a Java class.A FieldCommand is responsible for accessing and setting fields of objects.A HelpPageCommand is responsible for generating a help page for a Java object or Java class.A JVMViewCommand is responsible for managing JVM views: creating views, adding imports, searching for fully qualified names.A ListCommand is responsible for handling operations on lists (e.g., slicing).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.The ReflectionCommand is responsible for accessing packages, classes, and static members.The ShutdownGatewayServerCommand is responsible for shutting down the GatewayServer.A
StreamCommand
is like aCallCommand
, but returns the value directly.