org.mbari.siam.distributed
Interface NodeConfigurator

All Known Implementing Classes:
FOCENodeConfigurator, MOOSNodeConfigurator, NodeConfiguratorImpl

public interface NodeConfigurator

NodeConfigurator encapsulates the configuration of hardware-dependent components

Author:
Bob Herlien

Method Summary
 FilteredDeviceLogIF createDeviceLog(long nodeId, NodeProperties properties)
          Create the Node Log
 NetworkManager createNetworkManager(java.lang.String localHostName)
          Create the NetworkManager
 NodeProperties createNodeProperties(java.lang.String cfgFileName)
          Return NodeProperties appropriate to this configuration
 NodeService createNodeService(PortManager portManager, java.lang.String portalHost)
          Return a NodeService appropriate to this configuration
 PortManager createPortManager(NodeProperties nodeProps)
          Return a PortManager appropriate to this configuration
 SleepManager createSleepManager()
          Create the SleepManager
 WDTManager createWDTManager()
          Create the WDTManager
 java.lang.String getSiamHome()
          Return SIAM home directory.
 

Method Detail

createNodeService

NodeService createNodeService(PortManager portManager,
                              java.lang.String portalHost)
                              throws java.rmi.RemoteException,
                                     MissingPropertyException,
                                     InvalidPropertyException,
                                     java.io.IOException
Return a NodeService appropriate to this configuration

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

getSiamHome

java.lang.String getSiamHome()
                             throws MissingPropertyException
Return SIAM home directory.

Throws:
MissingPropertyException

createPortManager

PortManager createPortManager(NodeProperties nodeProps)
                              throws MissingPropertyException,
                                     InvalidPropertyException
Return a PortManager appropriate to this configuration

Throws:
MissingPropertyException
InvalidPropertyException

createNodeProperties

NodeProperties createNodeProperties(java.lang.String cfgFileName)
                                    throws java.io.FileNotFoundException,
                                           MissingPropertyException,
                                           java.io.IOException
Return NodeProperties appropriate to this configuration

Throws:
java.io.FileNotFoundException
MissingPropertyException
java.io.IOException

createDeviceLog

FilteredDeviceLogIF createDeviceLog(long nodeId,
                                    NodeProperties properties)
                                    throws MissingPropertyException,
                                           InvalidPropertyException,
                                           java.io.IOException
Create the Node Log

Throws:
MissingPropertyException
InvalidPropertyException
java.io.IOException

createNetworkManager

NetworkManager createNetworkManager(java.lang.String localHostName)
                                    throws java.net.UnknownHostException,
                                           java.net.SocketException
Create the NetworkManager

Throws:
java.net.UnknownHostException
java.net.SocketException

createSleepManager

SleepManager createSleepManager()
Create the SleepManager


createWDTManager

WDTManager createWDTManager()
Create the WDTManager



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.