Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
C
- cacheSize - Static variable in class py4j.reflection.ReflectionEngine
- CALL_COMMAND_NAME - Static variable in class py4j.commands.CallCommand
- CALL_PROXY_COMMAND_NAME - Static variable in class py4j.reflection.PythonProxyHandler
- callbackClient(int, InetAddress) - Method in class py4j.GatewayServer.GatewayServerBuilder
- callbackClient(int, InetAddress, String) - Method in class py4j.GatewayServer.GatewayServerBuilder
-
Set up the callback client to talk to the server running at the given address and port, authenticating with the given token.
- callbackClient(CallbackClient) - Method in class py4j.GatewayServer.GatewayServerBuilder
- CallbackClient - Class in py4j
-
A CallbackClient is responsible for managing communication channels: channels are created as needed (e.g., one per concurrent thread) and are closed after a certain time.
- CallbackClient(int) - Constructor for class py4j.CallbackClient
- CallbackClient(int, InetAddress) - Constructor for class py4j.CallbackClient
- CallbackClient(int, InetAddress, long, TimeUnit) - Constructor for class py4j.CallbackClient
- CallbackClient(int, InetAddress, long, TimeUnit, SocketFactory) - Constructor for class py4j.CallbackClient
- CallbackClient(int, InetAddress, long, TimeUnit, SocketFactory, boolean) - Constructor for class py4j.CallbackClient
- CallbackClient(int, InetAddress, long, TimeUnit, SocketFactory, boolean, int) - Constructor for class py4j.CallbackClient
- CallbackClient(int, InetAddress, String) - Constructor for class py4j.CallbackClient
- CallbackClient(int, InetAddress, String, long, TimeUnit, SocketFactory, boolean, int) - Constructor for class py4j.CallbackClient
- CallbackConnection - Class in py4j
-
Default implementation of the CommunicationChannel interface using TCP sockets.
- CallbackConnection(int, InetAddress) - Constructor for class py4j.CallbackConnection
- CallbackConnection(int, InetAddress, SocketFactory) - Constructor for class py4j.CallbackConnection
- CallbackConnection(int, InetAddress, SocketFactory, int) - Constructor for class py4j.CallbackConnection
- CallbackConnection(int, InetAddress, SocketFactory, int, String) - Constructor for class py4j.CallbackConnection
- callBytesOperator(BytesOperator) - Method in class py4j.examples.OperatorExample
- CallCommand - Class in py4j.commands
-
A CallCommand is responsible for parsing a call command and calling the method on the target object.
- CallCommand() - Constructor for class py4j.commands.CallCommand
- CallCommandTest - Class in py4j.commands
- CallCommandTest() - Constructor for class py4j.commands.CallCommandTest
- callHello(IHello) - Method in class py4j.examples.ExampleClass
- callHello2(IHello) - Method in class py4j.examples.ExampleClass
- CHAR_CONVERTER - Static variable in class py4j.reflection.TypeConverter
- CLASS_TYPE - Static variable in class py4j.Protocol
- classForName(String) - Method in interface py4j.reflection.ClassLoadingStrategy
- classForName(String) - Method in class py4j.reflection.CurrentThreadClassLoadingStrategy
- classForName(String) - Static method in class py4j.reflection.ReflectionUtil
- classForName(String) - Method in class py4j.reflection.RootClassLoadingStrategy
- ClassLoadingStrategy - Interface in py4j.reflection
-
Strategy interface to load a class from a fully qualified name.
- clearImports() - Method in class py4j.JVMView
- ClientServer - Class in py4j
-
This class creates the JavaServer and the PythonClient necessary to communicate with a Python virtual machine with the new threading model.
- ClientServer(int, InetAddress, int, InetAddress, int, int, ServerSocketFactory, SocketFactory, Object) - Constructor for class py4j.ClientServer
- ClientServer(int, InetAddress, int, InetAddress, int, int, ServerSocketFactory, SocketFactory, Object, boolean, boolean) - Constructor for class py4j.ClientServer
- ClientServer(Object) - Constructor for class py4j.ClientServer
- ClientServer.ClientServerBuilder - Class in py4j
-
Helper class to make it easier and self-documenting how a
ClientServer
is constructed. - ClientServerBuilder() - Constructor for class py4j.ClientServer.ClientServerBuilder
- ClientServerBuilder(Object) - Constructor for class py4j.ClientServer.ClientServerBuilder
- ClientServerConnection - Class in py4j
- ClientServerConnection(Gateway, Socket, List<Class<? extends Command>>, Py4JPythonClientPerThread, Py4JJavaServer, int) - Constructor for class py4j.ClientServerConnection
- ClientServerConnection(Gateway, Socket, List<Class<? extends Command>>, Py4JPythonClientPerThread, Py4JJavaServer, int, String) - Constructor for class py4j.ClientServerConnection
- ClientServerTest - Class in py4j
- ClientServerTest() - Constructor for class py4j.ClientServerTest
- close() - Method in class py4j.EchoClient
- closeConnection() - Method in class py4j.Gateway
-
Called when a connection is closed.
- Command - Interface in py4j.commands
-
This interface must be implemented by all commands.
- COMMAND_NAME - Static variable in class py4j.commands.AuthCommand
- commandName - Variable in class py4j.commands.AbstractCommand
- commands - Variable in class py4j.ClientServerConnection
- commands - Variable in class py4j.GatewayConnection
- compareTo(Py4JMember) - Method in class py4j.model.Py4JMember
- computeChar(IReturnConverter) - Method in class py4j.examples.ReturnerExample
- computeCharacterConversion(Class<?>, Class<?>, List<TypeConverter>) - Static method in class py4j.reflection.TypeUtil
- computeDistance(Class<?>, Class<?>) - Static method in class py4j.reflection.TypeUtil
- computeFloat(IReturnConverter) - Method in class py4j.examples.ReturnerExample
- computeInt(IReturnConverter) - Method in class py4j.examples.ReturnerExample
- computeNothing(IReturnConverter) - Method in class py4j.examples.ReturnerExample
- computeNull(IReturnConverter) - Method in class py4j.examples.ReturnerExample
- computeNumericConversion(Class<?>, Class<?>, List<TypeConverter>) - Static method in class py4j.reflection.TypeUtil
- connect() - Method in class py4j.EchoClient
- connection - Variable in class py4j.commands.AbstractCommand
- connectionError(Exception) - Method in class py4j.DefaultGatewayServerListener
- connectionError(Exception) - Method in interface py4j.GatewayServerListener
- connectionError(Exception) - Method in class py4j.PythonClient
- connections - Variable in class py4j.CallbackClient
- connectionStarted(Py4JServerConnection) - Method in class py4j.DefaultGatewayServerListener
- connectionStarted(Py4JServerConnection) - Method in interface py4j.GatewayServerListener
- connectionStarted(Py4JServerConnection) - Method in class py4j.PythonClient
- connectionStopped(Py4JServerConnection) - Method in class py4j.DefaultGatewayServerListener
- connectionStopped(Py4JServerConnection) - Method in class py4j.GatewayServer
- connectionStopped(Py4JServerConnection) - Method in interface py4j.GatewayServerListener
- connectionStopped(Py4JServerConnection) - Method in class py4j.PythonClient
- connectTimeout - Variable in class py4j.ClientServer
- connectTimeout(int) - Method in class py4j.ClientServer.ClientServerBuilder
- connectTimeout(int) - Method in class py4j.GatewayServer.GatewayServerBuilder
- CONSTRUCTOR_COMMAND_NAME - Static variable in class py4j.commands.ConstructorCommand
- ConstructorCommand - Class in py4j.commands
-
A ConstructorCommand is responsible for calling the constructors of a Java class.
- ConstructorCommand() - Constructor for class py4j.commands.ConstructorCommand
- ConstructorCommandTest - Class in py4j.commands
- ConstructorCommandTest() - Constructor for class py4j.commands.ConstructorCommandTest
- convert(Object) - Method in class py4j.reflection.TypeConverter
- copyWith(InetAddress, int) - Method in class py4j.CallbackClient
-
Creates a callback client which connects to the given address and port, but retains all the other settings (like the
CallbackClient.minConnectionTime
and theCallbackClient.socketFactory
. - copyWith(InetAddress, int) - Method in interface py4j.Py4JPythonClient
-
Creates a callback client which connects to the given address and port, but retains all the other settings (like the minConnectionTime and the socketFactory).
- copyWith(InetAddress, int) - Method in class py4j.PythonClient
- CREATE_VIEW_SUB_COMMAND_NAME - Static variable in class py4j.commands.JVMViewCommand
- createArray(String, int[]) - Method in class py4j.reflection.ReflectionEngine
- createConnection(Gateway, Socket) - Method in class py4j.GatewayServer
-
Creates a server connection from a Python call to the Java side.
- createConnection(Gateway, Socket) - Method in class py4j.JavaServer
- createJavaServer(Object, Py4JPythonClientPerThread) - Method in class py4j.ClientServer
- createProxy(ClassLoader, Class[], String) - Method in class py4j.Gateway
-
Creates a proxy implementing the provided interfaces with the provided class loader.
- createPythonClient() - Method in class py4j.ClientServer
- createPythonProxyHandler(String) - Method in class py4j.Gateway
- CurrentThreadClassLoadingStrategy - Class in py4j.reflection
-
This class loading strategy uses the current thread's ClassLoader to load a class from a fully qualified name.
- CurrentThreadClassLoadingStrategy() - Constructor for class py4j.reflection.CurrentThreadClassLoadingStrategy
- customCommands - Variable in class py4j.PythonClient
- customCommands(List<Class<? extends Command>>) - Method in class py4j.GatewayServer.GatewayServerBuilder
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form