public class PythonGatewayServer extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PythonGatewayServer.Watchdog
A simple watch dog interface.
|
Modifier and Type | Field and Description |
---|---|
static PythonGatewayServer.Watchdog |
watchdog
This watchdog object is provided to Python side to check whether its parent process is alive.
|
Constructor and Description |
---|
PythonGatewayServer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method to start a local GatewayServer on a ephemeral port.
|
public static PythonGatewayServer.Watchdog watchdog
public static void main(String[] args) throws IOException, ExecutionException, InterruptedException
See: py4j.GatewayServer.main()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.