| 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 |
CallbackClient.copyWith(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(InetAddress pythonAddress,
int pythonPort) |
Py4JPythonClient |
Py4JPythonClient.copyWith(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 |
GatewayServer.getCallbackClient() |
Py4JPythonClient |
Gateway.getCallbackClient() |
Py4JPythonClient |
ClientServer.getPythonClient() |
| Constructor and Description |
|---|
Gateway(Object entryPoint,
Py4JPythonClient cbClient) |
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(Object entryPoint,
int port,
int connectTimeout,
int readTimeout,
List<Class<? extends Command>> customCommands,
Py4JPythonClient cbClient) |
Copyright © 2018. All rights reserved.