org.mbari.siam.foce.deployed
Class FOCENodeProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by org.mbari.siam.core.SiamProperties
                  extended by org.mbari.siam.core.NodeProperties
                      extended by org.mbari.siam.foce.deployed.FOCENodeProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class FOCENodeProperties
extends NodeProperties

FOCENodeProperties contains properties for a FOCE Node. Some of these properties are required.

See Also:
Serialized Form

Field Summary
protected  AnalogBoard[] _analogBoards
           
protected  FOCERelayBoard[] _relayBoards
           
static java.lang.String ANALOG_ADDRESS_KEY
           
static java.lang.String ANALOG_BOARD_TYPE_DIAMOND
           
static java.lang.String ANALOG_BOARD_TYPE_SENSORAY
           
static java.lang.String ANALOG_NAME_KEY
           
static java.lang.String ANALOG_PORT_KEY
           
static java.lang.String ANALOG_TYPES_KEY
           
static int DEFAULT_ANALOG_BOARD_ADDR
           
static java.lang.String DEFAULT_ANALOG_BOARD_TYPE
           
static int DEFAULT_PWR_BOARD_ADDR
           
static java.lang.String DIN_NAME_KEY
           
static java.lang.String DIN_PORT_KEY
           
static java.lang.String POWER_ADDRESS_KEY
           
 
Fields inherited from class org.mbari.siam.core.NodeProperties
ADVERTISE_SERVICE_KEY, CODEBASE_DIRECTORY_KEY, COMMS_MODE_KEY, DATA_SHELF_LIFE, DEVICELOG_DIRECTORY_KEY, HTTP_PORT_KEY, MAX_PORTS_KEY, MAX_REASSERT_COMMLINK_TRIES, MISC_PORT_KEY, NODE_DIAGNOSTIC_INTERVAL_KEY, NODEID_KEY, NVT_SERIAL_PORT_KEY, PORT_ALIAS_KEY, PORTNAME_KEY, PORTNAMES_KEY, POWER_PORT_KEY, REASSERT_COMMLINK, SERIAL_PORT_KEY, SERVICE_JAR_KEY, SERVICEJAR_DIRECTORY_KEY, USE_PUCK_PAYLOAD_KEY
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
FOCENodeProperties()
          Constructor with reference to the FOCENodeConfigurator
 
Method Summary
protected  DevicePort getPlatformPort(int index, PowerPort powerPort, java.lang.String jarName, CommsMode cm)
          Look for FOCE-specific DevicePorts.
 PowerPort getPowerPort(java.lang.String key)
          Look for FOCE-specific notation for PowerPorts.
 
Methods inherited from class org.mbari.siam.core.NodeProperties
getCodebaseDirectory, getDataShelfLifeHours, getDeviceLogDirectory, getDiagnosticInterval, getHttpDevicePort, getMaxPorts, getNodeID, getNVTDevicePort, getPort, getSerialDevicePort, getSerialPortNames, getServiceJarDirectory, maxReassertCommLinkTries, reassertCommsLink
 
Methods inherited from class org.mbari.siam.core.SiamProperties
getChannelRangeProperty, getIntegerArrayProperty, getIntegerProperty, getIntegerProperty, getLongProperty, getLongProperty, getNonNegativeIntegerProperty, getProperty, getProperty, getRequiredProperty, getStringArrayProperty, parseChannelRangeProperty, parseInteger, parseStringArrayProperty
 
Methods inherited from class java.util.Properties
list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ANALOG_PORT_KEY

public static final java.lang.String ANALOG_PORT_KEY
See Also:
Constant Field Values

ANALOG_NAME_KEY

public static final java.lang.String ANALOG_NAME_KEY
See Also:
Constant Field Values

DIN_PORT_KEY

public static final java.lang.String DIN_PORT_KEY
See Also:
Constant Field Values

DIN_NAME_KEY

public static final java.lang.String DIN_NAME_KEY
See Also:
Constant Field Values

POWER_ADDRESS_KEY

public static final java.lang.String POWER_ADDRESS_KEY
See Also:
Constant Field Values

ANALOG_ADDRESS_KEY

public static final java.lang.String ANALOG_ADDRESS_KEY
See Also:
Constant Field Values

ANALOG_TYPES_KEY

public static final java.lang.String ANALOG_TYPES_KEY
See Also:
Constant Field Values

DEFAULT_PWR_BOARD_ADDR

public static final int DEFAULT_PWR_BOARD_ADDR
See Also:
Constant Field Values

DEFAULT_ANALOG_BOARD_ADDR

public static final int DEFAULT_ANALOG_BOARD_ADDR
See Also:
Constant Field Values

ANALOG_BOARD_TYPE_DIAMOND

public static final java.lang.String ANALOG_BOARD_TYPE_DIAMOND
See Also:
Constant Field Values

ANALOG_BOARD_TYPE_SENSORAY

public static final java.lang.String ANALOG_BOARD_TYPE_SENSORAY
See Also:
Constant Field Values

DEFAULT_ANALOG_BOARD_TYPE

public static final java.lang.String DEFAULT_ANALOG_BOARD_TYPE
See Also:
Constant Field Values

_relayBoards

protected FOCERelayBoard[] _relayBoards

_analogBoards

protected AnalogBoard[] _analogBoards
Constructor Detail

FOCENodeProperties

public FOCENodeProperties()
Constructor with reference to the FOCENodeConfigurator

Method Detail

getPowerPort

public PowerPort getPowerPort(java.lang.String key)
Look for FOCE-specific notation for PowerPorts.

Overrides:
getPowerPort in class NodeProperties
Parameters:
key - - Property key for the PowerPort.

getPlatformPort

protected DevicePort getPlatformPort(int index,
                                     PowerPort powerPort,
                                     java.lang.String jarName,
                                     CommsMode cm)
                              throws MissingPropertyException
Look for FOCE-specific DevicePorts. Right now that means AnalogDevicePort.

Overrides:
getPlatformPort in class NodeProperties
Parameters:
index - - the index number of the DevicePort.
Throws:
MissingPropertyException


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.