org.mbari.siam.distributed
Interface MOOSNode

All Superinterfaces:
Node, java.rmi.Remote, RemoteService
All Known Implementing Classes:
MOOSNodeService, TestNodeService

public interface MOOSNode
extends Node

Interface to MOOSNode, which hosts devices. This interface adds methods which are specific to MOOS.

Author:
Tom O'Reilly

Field Summary
 
Fields inherited from interface org.mbari.siam.distributed.Node
SERVER_NAME
 
Method Summary
 DpaPortStatus[] getDpaPortStatus()
          Get status of all DPA ports.
 DpaPortStatus getDpaPortStatus(byte[] commPortName)
          Get status of DPA port associated with specified comm port.
 byte[] readWDT()
          Read watchdog time (WDT) status
 byte[] renewWDT()
          Keep watchdog from waking up and resetting Node
 void wakeupAllNodes()
          Send signal to wakeup all nodes.
 void wakeupNode(java.net.InetAddress node)
          Send signal to wakeup specified node.
 
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
 

Method Detail

renewWDT

byte[] renewWDT()
                throws java.rmi.RemoteException,
                       java.io.IOException,
                       java.io.FileNotFoundException
Keep watchdog from waking up and resetting Node

Throws:
java.rmi.RemoteException
java.io.IOException
java.io.FileNotFoundException

readWDT

byte[] readWDT()
               throws java.rmi.RemoteException,
                      java.io.IOException,
                      java.io.FileNotFoundException
Read watchdog time (WDT) status

Throws:
java.rmi.RemoteException
java.io.IOException
java.io.FileNotFoundException

getDpaPortStatus

DpaPortStatus getDpaPortStatus(byte[] commPortName)
                               throws NotSupportedException,
                                      DeviceNotFound,
                                      java.rmi.RemoteException
Get status of DPA port associated with specified comm port. Throws NotSupportedException if no power port is associated with specified comm port.

Throws:
NotSupportedException
DeviceNotFound
java.rmi.RemoteException

getDpaPortStatus

DpaPortStatus[] getDpaPortStatus()
                                 throws java.rmi.RemoteException
Get status of all DPA ports.

Throws:
java.rmi.RemoteException

wakeupNode

void wakeupNode(java.net.InetAddress node)
                throws java.rmi.RemoteException,
                       java.io.IOException
Send signal to wakeup specified node.

Throws:
java.rmi.RemoteException
java.io.IOException

wakeupAllNodes

void wakeupAllNodes()
                    throws java.rmi.RemoteException,
                           java.io.IOException
Send signal to wakeup all nodes.

Throws:
java.rmi.RemoteException
java.io.IOException


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.