|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.mbari.siam.core.NodeService
org.mbari.siam.moos.deployed.MOOSNodeService
public class MOOSNodeService
MOOSNodeService implements the MOOSNode interface, and manages multiple Devices (including Instruments).
| Field Summary | |
|---|---|
protected EnvironmentDiagnostics |
_diagnostics
|
protected MOOSWDTManager |
_moosWDTManager
|
static java.lang.String |
WDT_FILENAME
|
| Fields inherited from class org.mbari.siam.core.NodeService |
|---|
_aggregator, _auxComms, _dateFormat, _leaseDuration, _leaseRenewalInterval, _networkManager, _nodeManager, _nodeProperties, _parentAddr, _parentHost, _portManager, _ports, _scratchProperties, _surfaceAddr, _turbinator, _typeFilters, _wdtStatus |
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Fields inherited from interface org.mbari.siam.distributed.Node |
|---|
SERVER_NAME |
| Method Summary | |
|---|---|
void |
disableWDT()
|
java.lang.String |
getDiagnosticsStatusSummary()
Get the Status Summary from the Diagnostics |
DpaPortStatus[] |
getDpaPortStatus()
Report status of all DPA ports |
DpaPortStatus |
getDpaPortStatus(byte[] pName)
Get status of power port associated with specified comm port. |
protected Environmental |
getEnvironmental()
Return Environmental service proxy. |
NodeInfo |
getNodeInfo()
Get basic information about node and its subnodes |
protected void |
pingWDT(NodeSessionInfo sessionInfo)
|
void |
quitApplication(int delaySec)
Disables the watchdog timer. |
byte[] |
readWDT()
Read watchdog timer (WDT) state |
byte[] |
renewWDT()
Keep watchdog timer (WDT) from expiring |
void |
runDiagnostics(java.lang.String note)
Run diagnostic procedure; called through Parent interface |
void |
wakeupAllNodes()
Send signal to wakeup all nodes. |
void |
wakeupNode(java.net.InetAddress node)
Send signal to wakeup specified node. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.mbari.siam.distributed.RemoteService |
|---|
ping |
| Methods inherited from interface org.mbari.siam.core.PowerListener |
|---|
failureDetected, shutdown |
| Field Detail |
|---|
public static final java.lang.String WDT_FILENAME
protected EnvironmentDiagnostics _diagnostics
protected MOOSWDTManager _moosWDTManager
| Method Detail |
|---|
protected Environmental getEnvironmental()
throws DeviceNotFound
DeviceNotFound
public void runDiagnostics(java.lang.String note)
throws java.lang.Exception
runDiagnostics in class NodeServicejava.lang.Exceptionpublic java.lang.String getDiagnosticsStatusSummary()
getDiagnosticsStatusSummary in class NodeService
public NodeInfo getNodeInfo()
throws java.lang.Exception,
java.rmi.RemoteException
getNodeInfo in interface NodegetNodeInfo in class NodeServicejava.lang.Exception
java.rmi.RemoteException
public void quitApplication(int delaySec)
throws java.rmi.RemoteException
quitApplication in class NodeServicejava.rmi.RemoteExceptionpublic void disableWDT()
protected void pingWDT(NodeSessionInfo sessionInfo)
pingWDT in class NodeService
public DpaPortStatus getDpaPortStatus(byte[] pName)
throws NotSupportedException,
DeviceNotFound
getDpaPortStatus in interface MOOSNodeNotSupportedException
DeviceNotFoundpublic DpaPortStatus[] getDpaPortStatus()
getDpaPortStatus in interface MOOSNode
public byte[] renewWDT()
throws java.rmi.RemoteException,
java.io.IOException,
java.io.FileNotFoundException
renewWDT in interface MOOSNodejava.rmi.RemoteException
java.io.IOException
java.io.FileNotFoundException
public byte[] readWDT()
throws java.rmi.RemoteException,
java.io.IOException,
java.io.FileNotFoundException
readWDT in interface MOOSNodejava.rmi.RemoteException
java.io.IOException
java.io.FileNotFoundException
public void wakeupNode(java.net.InetAddress node)
throws java.io.IOException
wakeupNode in interface MOOSNodejava.io.IOException
public void wakeupAllNodes()
throws java.io.IOException
wakeupAllNodes in interface MOOSNodejava.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||