Package | Description |
---|---|
py4j |
Modifier and Type | Interface and Description |
---|---|
interface |
Py4JPythonClientPerThread |
Modifier and Type | Class and Description |
---|---|
class |
CallbackClient
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.
|
class |
PythonClient
Subclass of CallbackClient that implements the new threading model,
ensuring that each thread uses its own connection.
|
Modifier and Type | Method and Description |
---|---|
Py4JPythonClient |
Py4JPythonClient.copyWith(java.net.InetAddress pythonAddress,
int pythonPort)
Creates a callback client which connects to the given address and port,
but retains all the other settings (like the minConnectionTime
and the socketFactory).
|
Py4JPythonClient |
CallbackClient.copyWith(java.net.InetAddress pythonAddress,
int pythonPort)
Creates a callback client which connects to the given address and port,
but retains all the other settings (like the
CallbackClient.minConnectionTime
and the CallbackClient.socketFactory . |
Py4JPythonClient |
PythonClient.copyWith(java.net.InetAddress pythonAddress,
int pythonPort) |
Py4JPythonClient |
Gateway.getCallbackClient() |
Py4JPythonClient |
GatewayServer.getCallbackClient() |
Py4JPythonClient |
ClientServer.getPythonClient() |
Constructor and Description |
---|
Gateway(java.lang.Object entryPoint,
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) |
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(java.lang.Object entryPoint,
int port,
int connectTimeout,
int readTimeout,
java.util.List<java.lang.Class<? extends Command>> customCommands,
Py4JPythonClient cbClient) |