public interface SimulatorServer extends com.itko.lisa.net.LisaServerObject, ServiceManagerSupport, com.itko.util.MonitoredRemoteObject, com.itko.lisa.coordinator.LabAware
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEF_TARGET_NAME |
static java.lang.String |
DEF_TARGET_PROP_KEY |
Modifier and Type | Method and Description |
---|---|
com.itko.lisa.coordinator.NodeExecResponse |
executeNode(TestCase test,
java.util.Map<java.lang.Object,java.lang.Object> state,
java.lang.String node,
java.util.Map<java.lang.String,DataSet> globals)
Support for remote invocation of a Node in LISA
|
java.util.Map<java.lang.String,com.itko.lisa.mobile.MobileDeviceInfo> |
getAttachedMobileDevices() |
int |
getAvailableCapacity()
Simulators have a declared capacity when you start them, and the have a default
if you don't.
|
java.lang.String |
getJavaVersion() |
java.lang.String |
getLisaVersion() |
java.lang.String |
getName()
Returns the name granted to this SimulatorServer
|
java.lang.String |
getOsName() |
java.util.List<com.itko.lisa.net.SimulatorClient> |
getSimulators()
Returns a cloned copy of all the currently maintained Simulators running
in this SimulatorServer.
|
long |
getStartTime() |
void |
remoteNodeExecCleanup(java.lang.String testCaseId)
Remote execution of nodes is not without a housekeeping cost.
|
void |
removeSimulator(java.lang.String uid)
Tell the simulator server to forget all about this simulator
|
com.itko.lisa.net.SimulatorClient |
startSimulator(java.lang.String stgUniqueId)
This is the only truly useful method in this interface for most developers.
|
dumpHeap, dumpThreads, gc, getDiagnosticZip, getPerformanceStats, getRegistry, popLogging, pushLogging, serviceReset, serviceStatus, serviceStop
static final java.lang.String DEF_TARGET_PROP_KEY
static final java.lang.String DEF_TARGET_NAME
com.itko.lisa.net.SimulatorClient startSimulator(java.lang.String stgUniqueId) throws java.rmi.RemoteException, TestRunException
java.rmi.RemoteException
TestRunException
Coordinator
java.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
long getStartTime() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getLisaVersion() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getOsName() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getJavaVersion() throws java.rmi.RemoteException
java.rmi.RemoteException
int getAvailableCapacity() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<com.itko.lisa.net.SimulatorClient> getSimulators() throws java.rmi.RemoteException
java.rmi.RemoteException
Simulator
com.itko.lisa.coordinator.NodeExecResponse executeNode(TestCase test, java.util.Map<java.lang.Object,java.lang.Object> state, java.lang.String node, java.util.Map<java.lang.String,DataSet> globals) throws java.rmi.RemoteException
test
- the test case to execute onstate
- all the state properties that need to be used during executionnode
- the node name that should be executedglobal
- the global data sets of @{test}java.rmi.RemoteException
NodeExecResponse
void remoteNodeExecCleanup(java.lang.String testCaseId) throws java.rmi.RemoteException
testCaseId
- the unique ID for the test casejava.rmi.RemoteException
TestExec.getTestCaseIdFromState(Map)
void removeSimulator(java.lang.String uid) throws java.rmi.RemoteException
uid
- java.rmi.RemoteException
java.util.Map<java.lang.String,com.itko.lisa.mobile.MobileDeviceInfo> getAttachedMobileDevices() throws java.rmi.RemoteException
getAttachedMobileDevices
in interface com.itko.lisa.net.LisaServerObject
getAttachedMobileDevices
in interface ServiceManagerSupport
java.rmi.RemoteException
Copyright © 1998-2014 CA, Inc. All Rights Reserved.