org.mbari.siam.distributed
Interface Node

All Superinterfaces:
java.rmi.Remote, RemoteService
All Known Subinterfaces:
FOCENode, MOOSNode
All Known Implementing Classes:
FOCENodeService, MOOSNodeService, NodeService, TestNodeService

public interface Node
extends RemoteService

Interface to an ISI Node, which hosts devices.

Author:
Tom O'Reilly

Field Summary
static java.lang.String SERVER_NAME
          Server name
 
Method Summary
 void addEventCallback(NodeEventCallback callback)
          Register to receive notification of node events.
 byte[] addSchedule(byte[] port, byte[] scheduleName, byte[] schedule, boolean overwrite)
          Add Schedule
 void annotate(byte[] annotation)
          Append annotation to node's data stream.
 void cpuLease(int requestorID, long when, long howLong)
          Request that the CPU come on at a certain time in the future and/or remain on for a certain duration.
 void enterSafeMode()
          Put node and its devices into "safe" mode.
 void enterSafeMode(long timeoutSec)
           
 int establishLease(long leaseMillisec, byte[] clientNote)
          Request a lease of the Node's primary comms medium
 int establishLease(long leaseMillisec, byte[] clientNote, boolean usePrimary)
          Request a lease of either the primary or auxillary comms medium.
 void exitApplication()
          Shutdown all services and exits the SIAM application.
 void exitApplication(boolean doSafemode, boolean doHalt, boolean enableBackups, boolean doNotify, boolean recursive, int quitDelaySec, int haltDelaySec, java.lang.String msg)
          Shutdown all services and exits the SIAM application.
 Device getDevice(byte[] commPortName)
          Get device service (if any) associated with specified port.
 Device getDevice(long deviceId)
          Get specified device service proxy.
 DevicePacketSet getDevicePackets(long sensorID, long startTime, long endTime)
          Get DevicePacket objects, from specified sensor, within specified time window.
 DevicePacketSet getDevicePackets(long sensorID, long startTime, long endTime, int typeMask)
          Get DevicePacket objects, from specified sensor, within specified time window; only return packets of type specified in typemask parameter.
 DevicePacketSet getDevicePackets(long sensorId, long startTime, long endTime, int numBytes, int timeout)
          Get DevicePacket objects, from specified sensor, within specified time window.
 DevicePacketSet getDevicePackets(long sensorId, long startTime, long endTime, int numBytes, int typeMask, int timeout)
          Get DevicePacket objects, from specified sensor, within specified time window.
 Device[] getDevices()
          Get all device service proxies.
 long getId()
          Unique identifier for Node instance
 LeaseDescription[] getLeases(boolean usePrimary)
          Get list of all active leases managed by the node.
 Location getLocation()
          Return Location of Node.
 byte[] getMetadata()
          Get Node metadata.
 byte[] getName()
          Name of Node service class.
 NodeInfo getNodeInfo()
          Get basic information about node and its subnodes
 PortConfiguration[] getPortConfiguration()
          Get configuration of Node ports.
 Port[] getPorts()
          Get array of Node's Port objects.
 PowerSwitch[] getPowerSwitches()
          Get array of Node's power switches.
 java.util.Vector getProperties()
          Get Vector of node properties; each Vector element consists of byte array with form "key=value".
 RemoteSerialPort getRemoteSerialPort(byte[] portName)
          Get remote serial port.
 RemoteSerialPort getRemoteSerialPort(byte[] portName, int timeout)
          Get remote serial port with specified timeout in milliseconds.
 byte[] getSchedule()
          Get Printable Schedule (use default lookahead)
 byte[] getSchedule(byte[] port, long lookAheadSeconds)
          Get Printable Schedule for a specified device, lookahead
 byte[] getSchedule(long lookAheadSeconds)
          Get Printable Schedule, specify lookahead
 byte[] getStatus(boolean logPacket)
          Return byte string with node health/status information.
 Subnode[] getSubnodeObjects()
          Get list of immediate subnode objects.
 java.net.InetAddress[] getSubnodes()
          Get list of immediate subnode IP addresses.
 java.net.InetAddress host()
          Return InetAddress of device service host.
 void initialize()
          Initialize the device.
 byte[] instrumentRegistryStatus()
          Get InstrumentRegistry status
 Instrument lookupService(java.lang.String registryName)
          Find an Instrument in the InstrumentRegistry by registryName
 void powerDownPort(byte[] commPortName)
          Power down specified port and enable the comms if a service is not already using it
 int powerOff()
          Turn Node power off.
 void powerUpPort(byte[] commPortName, int currentLimit)
          Power up specified port and enable the comms if a service is not already using it
 void readLog4jConfig()
          Reload log4j configuration
 byte[] removeSchedule(byte[] port, byte[] scheduleName)
          Remove Schedule
 void removeSubnode(java.net.InetAddress address)
          Remove specified subnode from list.
 void renewLease(int leaseID, long leaseMillisec)
          Renew a lease with the Node's primary comms medium
 void renewLease(int leaseID, long leaseMillisec, boolean userPrimary)
          Renew a lease with the Node's primary or secondary comms medium
 void restartService(byte[] portName)
          Resume service (if any) associated with specified port.
 void resumeNormalMode()
          Return from "safe" mode; resume normal operations.
 byte[] resumeSchedule(byte[] port, byte[] scheduleName)
          Resume Schedule Entry
 void resumeService(byte[] portName)
          Resume service (if any) associated with specified port.
 byte[] runCommand(byte[] cmd, int timeoutSec)
          Tell node to execute a Linux command.
 void scanPort(byte[] commPortName)
          Load service for specified port.
 void scanPort(byte[] commPortName, byte[] serviceSource)
          Scan specified port, load service, optionally specifying source of the service.
 void scanPorts()
          Scan all ports, load services.
 void setProperties(byte[] propertyStrings)
          Set value of specified node service properties.
 void shoreLinkDownCallback(java.lang.String interfaceName, java.lang.String serialName, java.net.InetAddress localAddress, java.net.InetAddress remoteAddress)
          Called when IP link to shore is disconnected
 void shoreLinkUpCallback(java.lang.String interfaceName, java.lang.String serialName, java.net.InetAddress localAddress, java.net.InetAddress remoteAddress)
          Called when IP link to shore is connected
 byte[] shutdownDeviceService(byte[] commPortName)
          Shutdown and remove device service from specified port.
 NodeSessionInfo startSession(boolean renewWDT, byte[] initScript, int initScriptTimeoutSec)
          Prepare node for telemetry retrieval over low-bandwidth link; combines several operations into one RMI method invocation.
 boolean summarizing(long deviceID)
          Return true if specified device can supply Summary packets.
 byte[] suspendSchedule(byte[] port, byte[] scheduleName)
          Suspend Schedule Entry
 void suspendService(byte[] portName)
          Suspend service (if any) associated with specified port.
 byte[] syncSchedule(byte[] port, byte[] scheduleName, long delayMillis)
          Synchronize a (default sample) schedule entry
 void terminateLease(int leaseID)
          Terminate the session with the communications link.
 void terminateLease(int leaseID, boolean usePrimary)
          Terminate the session with the priamry or auxillary communications link.
 int terminateLeases(byte[] noteMatch)
          Terminate all leases with notations that match the specified note.
 int test()
          Run Node's self-test routine.
 
Methods inherited from interface org.mbari.siam.distributed.RemoteService
ping
 

Field Detail

SERVER_NAME

static final java.lang.String SERVER_NAME
Server name

See Also:
Constant Field Values
Method Detail

host

java.net.InetAddress host()
                          throws java.rmi.RemoteException,
                                 java.net.UnknownHostException
Return InetAddress of device service host.

Throws:
java.rmi.RemoteException
java.net.UnknownHostException

getName

byte[] getName()
               throws java.rmi.RemoteException
Name of Node service class.

Throws:
java.rmi.RemoteException

getId

long getId()
           throws java.rmi.RemoteException
Unique identifier for Node instance

Throws:
java.rmi.RemoteException

initialize

void initialize()
                throws java.rmi.RemoteException,
                       InitializeException
Initialize the device.

Throws:
java.rmi.RemoteException
InitializeException

powerOff

int powerOff()
             throws java.rmi.RemoteException
Turn Node power off.

Throws:
java.rmi.RemoteException

getPortConfiguration

PortConfiguration[] getPortConfiguration()
                                         throws java.rmi.RemoteException
Get configuration of Node ports.

Throws:
java.rmi.RemoteException

getDevice

Device getDevice(long deviceId)
                 throws java.rmi.RemoteException,
                        DeviceNotFound
Get specified device service proxy.

Throws:
java.rmi.RemoteException
DeviceNotFound

getDevices

Device[] getDevices()
                    throws java.rmi.RemoteException
Get all device service proxies.

Throws:
java.rmi.RemoteException

shutdownDeviceService

byte[] shutdownDeviceService(byte[] commPortName)
                             throws java.rmi.RemoteException,
                                    PortNotFound,
                                    DeviceNotFound
Shutdown and remove device service from specified port.

Throws:
java.rmi.RemoteException
PortNotFound
DeviceNotFound

scanPorts

void scanPorts()
               throws java.rmi.RemoteException
Scan all ports, load services.

Throws:
java.rmi.RemoteException

scanPort

void scanPort(byte[] commPortName)
              throws java.rmi.RemoteException,
                     PortNotFound,
                     DeviceNotFound,
                     java.io.IOException,
                     PortOccupiedException,
                     java.io.IOException,
                     DuplicateIdException
Load service for specified port.

Throws:
java.rmi.RemoteException
PortNotFound
DeviceNotFound
java.io.IOException
PortOccupiedException
DuplicateIdException

scanPort

void scanPort(byte[] commPortName,
              byte[] serviceSource)
              throws java.rmi.RemoteException,
                     PortNotFound,
                     DeviceNotFound,
                     java.io.IOException,
                     PortOccupiedException,
                     java.io.IOException,
                     DuplicateIdException
Scan specified port, load service, optionally specifying source of the service. If serviceSource is NULL, service will be loaded from source specified by node configuration. If serviceSource is "PUCK", service will be loaded from PUCK. Else service will be loaded from file named "serviceSource" in node-specified directory.

Throws:
java.rmi.RemoteException
PortNotFound
DeviceNotFound
java.io.IOException
PortOccupiedException
DuplicateIdException

getDevice

Device getDevice(byte[] commPortName)
                 throws java.rmi.RemoteException,
                        PortNotFound,
                        DeviceNotFound
Get device service (if any) associated with specified port.

Throws:
java.rmi.RemoteException
PortNotFound
DeviceNotFound

getPorts

Port[] getPorts()
                throws java.rmi.RemoteException
Get array of Node's Port objects.

Throws:
java.rmi.RemoteException

getPowerSwitches

PowerSwitch[] getPowerSwitches()
                               throws java.rmi.RemoteException
Get array of Node's power switches.

Throws:
java.rmi.RemoteException

getDevicePackets

DevicePacketSet getDevicePackets(long sensorID,
                                 long startTime,
                                 long endTime)
                                 throws java.rmi.RemoteException,
                                        DeviceNotFound,
                                        NoDataException
Get DevicePacket objects, from specified sensor, within specified time window.

Throws:
java.rmi.RemoteException
DeviceNotFound
NoDataException

getDevicePackets

DevicePacketSet getDevicePackets(long sensorID,
                                 long startTime,
                                 long endTime,
                                 int typeMask)
                                 throws java.rmi.RemoteException,
                                        DeviceNotFound,
                                        NoDataException
Get DevicePacket objects, from specified sensor, within specified time window; only return packets of type specified in typemask parameter.

Throws:
java.rmi.RemoteException
DeviceNotFound
NoDataException

getDevicePackets

DevicePacketSet getDevicePackets(long sensorId,
                                 long startTime,
                                 long endTime,
                                 int numBytes,
                                 int timeout)
                                 throws java.rmi.RemoteException,
                                        TimeoutException,
                                        java.lang.IllegalArgumentException,
                                        DeviceNotFound,
                                        NoDataException
Get DevicePacket objects, from specified sensor, within specified time window. Aggregate numBytes bytes. Timeout after timeout milliseconds.

Throws:
java.rmi.RemoteException
TimeoutException
java.lang.IllegalArgumentException
DeviceNotFound
NoDataException

getDevicePackets

DevicePacketSet getDevicePackets(long sensorId,
                                 long startTime,
                                 long endTime,
                                 int numBytes,
                                 int typeMask,
                                 int timeout)
                                 throws java.rmi.RemoteException,
                                        TimeoutException,
                                        java.lang.IllegalArgumentException,
                                        DeviceNotFound,
                                        NoDataException
Get DevicePacket objects, from specified sensor, within specified time window. Filter packets on typeMask. Aggregate numBytes bytes. Timeout after timeout milliseconds.

Throws:
java.rmi.RemoteException
TimeoutException
java.lang.IllegalArgumentException
DeviceNotFound
NoDataException

summarizing

boolean summarizing(long deviceID)
                    throws java.rmi.RemoteException,
                           DeviceNotFound
Return true if specified device can supply Summary packets.

Throws:
java.rmi.RemoteException
DeviceNotFound

suspendService

void suspendService(byte[] portName)
                    throws java.rmi.RemoteException,
                           PortNotFound,
                           DeviceNotFound
Suspend service (if any) associated with specified port.

Throws:
java.rmi.RemoteException
PortNotFound
DeviceNotFound

resumeService

void resumeService(byte[] portName)
                   throws java.rmi.RemoteException,
                          PortNotFound,
                          DeviceNotFound
Resume service (if any) associated with specified port.

Throws:
java.rmi.RemoteException
PortNotFound
DeviceNotFound

restartService

void restartService(byte[] portName)
                    throws java.rmi.RemoteException,
                           PortNotFound,
                           DeviceNotFound,
                           InitializeException,
                           java.lang.Exception
Resume service (if any) associated with specified port.

Throws:
java.rmi.RemoteException
PortNotFound
DeviceNotFound
InitializeException
java.lang.Exception

getRemoteSerialPort

RemoteSerialPort getRemoteSerialPort(byte[] portName)
                                     throws java.rmi.RemoteException,
                                            java.net.UnknownHostException,
                                            PortNotFound,
                                            PortOccupiedException,
                                            java.io.IOException
Get remote serial port.

Throws:
java.rmi.RemoteException
java.net.UnknownHostException
PortNotFound
PortOccupiedException
java.io.IOException

getRemoteSerialPort

RemoteSerialPort getRemoteSerialPort(byte[] portName,
                                     int timeout)
                                     throws java.rmi.RemoteException,
                                            java.net.UnknownHostException,
                                            PortNotFound,
                                            PortOccupiedException,
                                            RangeException,
                                            java.io.IOException
Get remote serial port with specified timeout in milliseconds.

Throws:
java.rmi.RemoteException
java.net.UnknownHostException
PortNotFound
PortOccupiedException
RangeException
java.io.IOException

test

int test()
         throws java.rmi.RemoteException
Run Node's self-test routine.

Throws:
java.rmi.RemoteException

getLocation

Location getLocation()
                     throws java.rmi.RemoteException,
                            UnknownLocationException
Return Location of Node.

Throws:
java.rmi.RemoteException
UnknownLocationException

getMetadata

byte[] getMetadata()
                   throws java.rmi.RemoteException
Get Node metadata.

Throws:
java.rmi.RemoteException

getSchedule

byte[] getSchedule()
                   throws java.rmi.RemoteException
Get Printable Schedule (use default lookahead)

Throws:
java.rmi.RemoteException

getSchedule

byte[] getSchedule(long lookAheadSeconds)
                   throws java.rmi.RemoteException
Get Printable Schedule, specify lookahead

Throws:
java.rmi.RemoteException

getSchedule

byte[] getSchedule(byte[] port,
                   long lookAheadSeconds)
                   throws java.rmi.RemoteException
Get Printable Schedule for a specified device, lookahead

Throws:
java.rmi.RemoteException

addSchedule

byte[] addSchedule(byte[] port,
                   byte[] scheduleName,
                   byte[] schedule,
                   boolean overwrite)
                   throws java.rmi.RemoteException
Add Schedule

Throws:
java.rmi.RemoteException

removeSchedule

byte[] removeSchedule(byte[] port,
                      byte[] scheduleName)
                      throws java.rmi.RemoteException
Remove Schedule

Throws:
java.rmi.RemoteException

suspendSchedule

byte[] suspendSchedule(byte[] port,
                       byte[] scheduleName)
                       throws java.rmi.RemoteException
Suspend Schedule Entry

Throws:
java.rmi.RemoteException

resumeSchedule

byte[] resumeSchedule(byte[] port,
                      byte[] scheduleName)
                      throws java.rmi.RemoteException
Resume Schedule Entry

Throws:
java.rmi.RemoteException

syncSchedule

byte[] syncSchedule(byte[] port,
                    byte[] scheduleName,
                    long delayMillis)
                    throws java.rmi.RemoteException
Synchronize a (default sample) schedule entry

Throws:
java.rmi.RemoteException

addEventCallback

void addEventCallback(NodeEventCallback callback)
                      throws java.rmi.RemoteException
Register to receive notification of node events.

Throws:
java.rmi.RemoteException

establishLease

int establishLease(long leaseMillisec,
                   byte[] clientNote)
                   throws java.rmi.RemoteException,
                          LeaseRefused
Request a lease of the Node's primary comms medium

Parameters:
leaseMillisec - lease period in milliseconds
clientNote - note attached by client
Returns:
leaseID for use with renewLease(), terminateLease(). Will always be >= 1.
Throws:
java.rmi.RemoteException
LeaseRefused

establishLease

int establishLease(long leaseMillisec,
                   byte[] clientNote,
                   boolean usePrimary)
                   throws java.rmi.RemoteException,
                          LeaseRefused
Request a lease of either the primary or auxillary comms medium.

Throws:
java.rmi.RemoteException
LeaseRefused

renewLease

void renewLease(int leaseID,
                long leaseMillisec)
                throws java.rmi.RemoteException,
                       LeaseRefused
Renew a lease with the Node's primary comms medium

Parameters:
leaseID - lease ID returned by establishLease()
leaseMillisec - lease period in milliseconds
Throws:
java.rmi.RemoteException
LeaseRefused

renewLease

void renewLease(int leaseID,
                long leaseMillisec,
                boolean userPrimary)
                throws java.rmi.RemoteException,
                       LeaseRefused
Renew a lease with the Node's primary or secondary comms medium

Parameters:
leaseID - lease ID returned by establishLease()
leaseMillisec - lease period in milliseconds
Throws:
java.rmi.RemoteException
LeaseRefused

terminateLease

void terminateLease(int leaseID)
                    throws java.rmi.RemoteException,
                           LeaseRefused
Terminate the session with the communications link.

Parameters:
leaseID - lease ID returned by establishLease()
Throws:
java.rmi.RemoteException
LeaseRefused

terminateLease

void terminateLease(int leaseID,
                    boolean usePrimary)
                    throws java.rmi.RemoteException,
                           LeaseRefused
Terminate the session with the priamry or auxillary communications link.

Parameters:
leaseID - lease ID returned by establishLease()
Throws:
java.rmi.RemoteException
LeaseRefused

terminateLeases

int terminateLeases(byte[] noteMatch)
                    throws java.rmi.RemoteException,
                           LeaseRefused
Terminate all leases with notations that match the specified note. If noteMatch is null, then terminate all leases. Returns the number of leases that were terminated.

Throws:
java.rmi.RemoteException
LeaseRefused

cpuLease

void cpuLease(int requestorID,
              long when,
              long howLong)
              throws java.rmi.RemoteException
Request that the CPU come on at a certain time in the future and/or remain on for a certain duration.

Parameters:
requestorID - Unique ID (externally assigned) to identify who is requesting the CPU to remain on. Allows for multiple requestors each requesting that the CPU be on.
when - Milliseconds until the requestor needs the CPU on. Use 0 (zero) to request that the CPU remain on starting now.
howLong - Number of milliseconds that the CPU should remain on. Use 0 (zero) to cancel an earlier request.
Throws:
java.rmi.RemoteException

getStatus

byte[] getStatus(boolean logPacket)
                 throws java.rmi.RemoteException
Return byte string with node health/status information.

Throws:
java.rmi.RemoteException

exitApplication

void exitApplication()
                     throws java.rmi.RemoteException
Shutdown all services and exits the SIAM application.

Throws:
java.rmi.RemoteException

powerUpPort

void powerUpPort(byte[] commPortName,
                 int currentLimit)
                 throws java.rmi.RemoteException,
                        PortOccupiedException,
                        PortNotFound,
                        RangeException,
                        NotSupportedException
Power up specified port and enable the comms if a service is not already using it

Throws:
java.rmi.RemoteException
PortOccupiedException
PortNotFound
RangeException
NotSupportedException

powerDownPort

void powerDownPort(byte[] commPortName)
                   throws java.rmi.RemoteException,
                          PortOccupiedException,
                          PortNotFound
Power down specified port and enable the comms if a service is not already using it

Throws:
java.rmi.RemoteException
PortOccupiedException
PortNotFound

getSubnodes

java.net.InetAddress[] getSubnodes()
                                   throws java.rmi.RemoteException
Get list of immediate subnode IP addresses.

Throws:
java.rmi.RemoteException

getSubnodeObjects

Subnode[] getSubnodeObjects()
                            throws java.rmi.RemoteException
Get list of immediate subnode objects.

Throws:
java.rmi.RemoteException

removeSubnode

void removeSubnode(java.net.InetAddress address)
                   throws java.rmi.RemoteException,
                          java.lang.Exception
Remove specified subnode from list.

Throws:
java.rmi.RemoteException
java.lang.Exception

getLeases

LeaseDescription[] getLeases(boolean usePrimary)
                             throws java.rmi.RemoteException
Get list of all active leases managed by the node.

Throws:
java.rmi.RemoteException

getProperties

java.util.Vector getProperties()
                               throws java.rmi.RemoteException
Get Vector of node properties; each Vector element consists of byte array with form "key=value".

Throws:
java.rmi.RemoteException

runCommand

byte[] runCommand(byte[] cmd,
                  int timeoutSec)
                  throws java.rmi.RemoteException,
                         java.io.IOException,
                         TimeoutException
Tell node to execute a Linux command. This method doesn't return unil the command has completed, or until timeoutSec expires

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

enterSafeMode

void enterSafeMode()
                   throws java.rmi.RemoteException,
                          java.lang.Exception
Put node and its devices into "safe" mode.

Throws:
java.rmi.RemoteException
java.lang.Exception

enterSafeMode

void enterSafeMode(long timeoutSec)
                   throws java.rmi.RemoteException,
                          java.lang.Exception
Throws:
java.rmi.RemoteException
java.lang.Exception

resumeNormalMode

void resumeNormalMode()
                      throws java.rmi.RemoteException,
                             java.lang.Exception
Return from "safe" mode; resume normal operations.

Throws:
java.rmi.RemoteException
java.lang.Exception

annotate

void annotate(byte[] annotation)
              throws java.rmi.RemoteException
Append annotation to node's data stream.

Throws:
java.rmi.RemoteException

exitApplication

void exitApplication(boolean doSafemode,
                     boolean doHalt,
                     boolean enableBackups,
                     boolean doNotify,
                     boolean recursive,
                     int quitDelaySec,
                     int haltDelaySec,
                     java.lang.String msg)
                     throws java.rmi.RemoteException,
                            java.lang.Exception
Shutdown all services and exits the SIAM application.

Throws:
java.rmi.RemoteException
java.lang.Exception

setProperties

void setProperties(byte[] propertyStrings)
                   throws java.rmi.RemoteException,
                          InvalidPropertyException
Set value of specified node service properties. Input consists of one or more 'key=value' pairs. Each key=value pair is separated from the next pair by newline ('\n').

Throws:
java.rmi.RemoteException
InvalidPropertyException

getNodeInfo

NodeInfo getNodeInfo()
                     throws java.lang.Exception,
                            java.rmi.RemoteException
Get basic information about node and its subnodes

Throws:
java.lang.Exception
java.rmi.RemoteException

startSession

NodeSessionInfo startSession(boolean renewWDT,
                             byte[] initScript,
                             int initScriptTimeoutSec)
                             throws java.rmi.RemoteException,
                                    java.lang.Exception
Prepare node for telemetry retrieval over low-bandwidth link; combines several operations into one RMI method invocation.

Throws:
java.rmi.RemoteException
java.lang.Exception

shoreLinkUpCallback

void shoreLinkUpCallback(java.lang.String interfaceName,
                         java.lang.String serialName,
                         java.net.InetAddress localAddress,
                         java.net.InetAddress remoteAddress)
                         throws java.rmi.RemoteException,
                                java.lang.Exception
Called when IP link to shore is connected

Throws:
java.rmi.RemoteException
java.lang.Exception

shoreLinkDownCallback

void shoreLinkDownCallback(java.lang.String interfaceName,
                           java.lang.String serialName,
                           java.net.InetAddress localAddress,
                           java.net.InetAddress remoteAddress)
                           throws java.rmi.RemoteException,
                                  java.lang.Exception
Called when IP link to shore is disconnected

Throws:
java.rmi.RemoteException
java.lang.Exception

lookupService

Instrument lookupService(java.lang.String registryName)
                         throws java.rmi.RemoteException
Find an Instrument in the InstrumentRegistry by registryName

Throws:
java.rmi.RemoteException

instrumentRegistryStatus

byte[] instrumentRegistryStatus()
                                throws java.rmi.RemoteException
Get InstrumentRegistry status

Throws:
java.rmi.RemoteException

readLog4jConfig

void readLog4jConfig()
                     throws java.rmi.RemoteException
Reload log4j configuration

Throws:
java.rmi.RemoteException


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.