public class Py4JServer
extends org.lsst.ccs.BusMaster
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, setStackTraceDepth, switchToEngineeringMode, switchToNormalModeaddCommandSet, addCommandsFromObject, addStateChangeListener, broadcastStatus, checkAllHardwareStopped, executeCommandRequest, getAgentInfo, getAgentLockService, getAgentPeriodicTaskService, getAgentPersistenceService, getAgentProperties, getAgentPropertiesKeySet, getAgentProperty, getAgentService, getAgentServices, getAgentStatusAggregatorService, getAlertService, getCCSVersions, getCommandCount, getCommandSet, getCommandTargets, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getConfigurationService, getCurrentAction, getDataProviderDictionaryService, getDescription, getDictionaries, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getMonitor, getName, getScheduler, getState, getState, getStatusBroadcastPeriod, internalCheckHardware, isConnectedToTheBuses, isInEngineeringMode, isInState, isInState, populateComponentLookup, preBuild, preInit, printComponentNodeTree, publishSubsystemDataOnStatusBus, removeStateChangeListener, sendAck, sendNack, setAgentName, setAgentProperty, shutdownAgent, startAgent, startAgent, updateAgentComponentState, updateAgentState, updateAgentState, updateHeartBeat, waitForclone, 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 © 2018 LSST. All rights reserved.