public class Py4JServer
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Class and Description |
|---|---|
static class |
Py4JServer.Py4jGatewayServer |
| Constructor and Description |
|---|
Py4JServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
createGateway() |
void |
createGateway(String name,
int port,
String callbackAddress,
int callbackPort) |
String |
listGateways() |
void |
removeGateway(String name) |
void |
restartGateway(String name) |
void |
shutdown() |
void |
start() |
getLogHandler, getNumberCommandThreads, ping, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthbroadcastStatus, checkAllHardwareStopped, createHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCCSVersions, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, getStatusBroadcastPeriod, helper, initAgent, internalCheckHardware, isConnectedToTheBuses, isInEngineeringMode, populateComponentLookup, preBuild, preInit, printComponentNodeTree, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, startAgent, vetoTransitionToNormalModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void shutdown()
shutdown in interface org.lsst.ccs.framework.HasLifecyclepublic void start()
start in interface org.lsst.ccs.framework.HasLifecycle@Command
public void createGateway()
throws UnknownHostException
UnknownHostException@Command(description="starts a gateway")
public void createGateway(@Argument(description="the name of this gateway")
String name,
@Argument(description="the listening port")
int port,
@Argument(description="the python client\'s callback address")
String callbackAddress,
@Argument(description="the python client\'s callback port")
int callbackPort)
throws UnknownHostException
UnknownHostException@Command(description="restart a gateway")
public void restartGateway(@Argument(description="the name of the gateway")
String name)
@Command(description="remove a gateway")
public void removeGateway(@Argument(description="the name of the gateway")
String name)
@Command public String listGateways()
Copyright © 2021 LSST. All rights reserved.