|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpy4j.GatewayConnection
public class GatewayConnection
Manage the connection between a Python program and a Gateway. A
GatewayConnection lives in its own thread and is created every time a Python
program starts a JavaGateway
gateway = JavaGateway()
The request to connect to the JVM goes through the GatewayServer
first and is then passed to a GatewayConnection.
This class is not intended to be directly accessed by users.
Constructor Summary | |
---|---|
GatewayConnection(GatewayServer gatewayServer,
Gateway gateway,
Socket socket)
|
Method Summary | |
---|---|
protected void |
initCommands(Gateway gateway)
Override this method to initialize custom commands. |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GatewayConnection(GatewayServer gatewayServer, Gateway gateway, Socket socket) throws IOException
IOException
Method Detail |
---|
protected void initCommands(Gateway gateway)
Override this method to initialize custom commands.
gateway
- public void run()
run
in interface Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |