org.mbari.siam.foce.deployed
Class FOCENodeService

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.mbari.siam.core.NodeService
                  extended by org.mbari.siam.foce.deployed.FOCENodeService
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, java.util.EventListener, PowerListener, FOCENode, Node, RemoteService

public class FOCENodeService
extends NodeService
implements FOCENode

FOCENodeService extends NodeService and implements the FOCENode interface

Author:
Bob Herlien
See Also:
Serialized Form

Field Summary
protected  int _delaySecs
           
protected  PowerPort _powerPort
           
protected  int _retries
           
protected  java.lang.String[] _services
           
protected static java.lang.String CO2SubsysDelayKey
           
protected static java.lang.String CO2SubsysPowerKey
           
protected static java.lang.String CO2SubsysRetriesKey
           
protected static java.lang.String CO2SubsysServicesKey
           
 
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 powerDownCO2Subsystem()
          Power down the CO2 Subsystem
 void powerUpCO2Subsystem()
          Power up the CO2 Subsystem
 void startCO2SubsystemServices()
          Start up the Instrument Services associated with the CO2 Subsystem
 void stopCO2SubsystemServices()
          Stop the Instrument Services associated with the CO2 Subsystem
 
Methods inherited from class org.mbari.siam.core.NodeService
addEventCallback, addSchedule, annotate, cpuLease, enterSafeMode, enterSafeMode, establishLease, establishLease, exitApplication, exitApplication, failureDetected, getDevice, getDevice, getDevicePackets, getDevicePackets, getDevicePackets, getDevicePackets, getDevices, getDeviceService, getDiagnosticsStatusSummary, getId, getLeases, getLocation, getMetadata, getName, getNetworkManager, getNodeInfo, getPortConfiguration, getPortDiagnostics, getPorts, getPowerSwitches, getProperties, getRemoteSerialPort, getRemoteSerialPort, getSchedule, getSchedule, getSchedule, getScheduleOwner, getStatus, getSubnodeObjects, getSubnodes, getWdtStatus, host, initialize, instrumentRegistryStatus, lookupService, notifyParent, notifyParentLinkConnected, notifyParentLinkDisconnecting, parentIsPrimary, ping, pingWDT, powerDownPort, powerOff, powerUpPort, quitApplication, readLog4jConfig, removeSchedule, removeSubnode, renewLease, renewLease, resetPortDiagnostics, restartService, resumeNormalMode, resumeSchedule, resumeService, runCommand, runDiagnostics, scanPort, scanPort, scanPorts, setBackups, setProperties, shoreLinkDownCallback, shoreLinkUpCallback, shutdown, shutdownDeviceService, shutdownDeviceService, shutdownServices, startComms, startSession, summarizing, suspendSchedule, suspendService, syncSchedule, terminateLease, terminateLease, terminateLease, terminateLeases, test, writePostExitScript
 
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.Node
addEventCallback, addSchedule, annotate, cpuLease, enterSafeMode, enterSafeMode, establishLease, establishLease, exitApplication, exitApplication, getDevice, getDevice, getDevicePackets, getDevicePackets, getDevicePackets, getDevicePackets, getDevices, getId, getLeases, getLocation, getMetadata, getName, getNodeInfo, getPortConfiguration, getPorts, getPowerSwitches, getProperties, getRemoteSerialPort, getRemoteSerialPort, getSchedule, getSchedule, getSchedule, getStatus, getSubnodeObjects, getSubnodes, host, initialize, instrumentRegistryStatus, lookupService, powerDownPort, powerOff, powerUpPort, readLog4jConfig, removeSchedule, removeSubnode, renewLease, renewLease, restartService, resumeNormalMode, resumeSchedule, resumeService, runCommand, scanPort, scanPort, scanPorts, setProperties, shoreLinkDownCallback, shoreLinkUpCallback, shutdownDeviceService, startSession, summarizing, suspendSchedule, suspendService, syncSchedule, terminateLease, terminateLease, terminateLeases, test
 
Methods inherited from interface org.mbari.siam.distributed.RemoteService
ping
 

Field Detail

CO2SubsysPowerKey

protected static final java.lang.String CO2SubsysPowerKey
See Also:
Constant Field Values

CO2SubsysServicesKey

protected static final java.lang.String CO2SubsysServicesKey
See Also:
Constant Field Values

CO2SubsysDelayKey

protected static final java.lang.String CO2SubsysDelayKey
See Also:
Constant Field Values

CO2SubsysRetriesKey

protected static final java.lang.String CO2SubsysRetriesKey
See Also:
Constant Field Values

_powerPort

protected PowerPort _powerPort

_delaySecs

protected int _delaySecs

_retries

protected int _retries

_services

protected java.lang.String[] _services
Method Detail

powerUpCO2Subsystem

public void powerUpCO2Subsystem()
                         throws java.rmi.RemoteException,
                                java.io.IOException,
                                NotSupportedException
Power up the CO2 Subsystem

Specified by:
powerUpCO2Subsystem in interface FOCENode
Throws:
java.rmi.RemoteException
java.io.IOException
NotSupportedException

powerDownCO2Subsystem

public void powerDownCO2Subsystem()
                           throws java.rmi.RemoteException,
                                  java.io.IOException,
                                  NotSupportedException
Power down the CO2 Subsystem

Specified by:
powerDownCO2Subsystem in interface FOCENode
Throws:
java.rmi.RemoteException
java.io.IOException
NotSupportedException

startCO2SubsystemServices

public void startCO2SubsystemServices()
                               throws java.rmi.RemoteException,
                                      java.io.IOException,
                                      NotSupportedException
Start up the Instrument Services associated with the CO2 Subsystem

Specified by:
startCO2SubsystemServices in interface FOCENode
Throws:
java.rmi.RemoteException
java.io.IOException
NotSupportedException

stopCO2SubsystemServices

public void stopCO2SubsystemServices()
                              throws java.rmi.RemoteException,
                                     java.io.IOException,
                                     NotSupportedException
Stop the Instrument Services associated with the CO2 Subsystem

Specified by:
stopCO2SubsystemServices in interface FOCENode
Throws:
java.rmi.RemoteException
java.io.IOException
NotSupportedException


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.