1.0.0

org.eclipse.soda.dk.gpio.profile
Class GpioProfile

java.lang.Object
  extended by Profile
      extended by org.eclipse.soda.dk.gpio.profile.GpioProfile
All Implemented Interfaces:
GpioProfileService

public abstract class GpioProfile
extends Profile
implements GpioProfileService

The GPIO Profile specifies the interface to general purpose IO. It provides measurement values for the current states of input and output pins. It supports the ability to set the value of output pins through a command interface as well as triggering the state of an output pin with an LDAP expression. The GpioProfile class implements the device service and provides the controls for the device.

The list of exported services:

Version:
1.0.0
See Also:
GpioProfileService,

See the following specification(s) for more details:


Field Summary
static java.lang.String CLASS_NAME
          Defines the class name.
static java.lang.String CONTROL_PROFILE_PREFIX
          Define the ControlProfilePrefix configuration key.
protected  java.lang.String controlProfileServiceBitsExternalKey
           
protected  java.lang.String controlProfileServiceBitsGetExternalKey
           
protected  java.lang.String controlProfileServiceLongsExternalKey
           
protected  java.lang.String controlProfileServiceLongsGetExternalKey
           
protected  ReadOnlyMeasurement input
          Input specifies the current states of the input pins.
protected  ReadOnlyMeasurement inputCount
          InputCount specifies the number of input pins supported by the device.
protected  java.util.Map inputFalseMap
          Define the input false map (Map) field.
protected  java.util.Hashtable ldapMap
          Define the ldap map (Dictionary) field.
protected  ReadOnlyMeasurement output
          Output specifies the current states of the output pins.
protected  MethodMeasurement output10Expression
          LDAP expression to trigger the state of output pin 10 based on input pin and control values.
protected  MethodMeasurement output11Expression
          LDAP expression to trigger the state of output pin 11 based on input pin and control values.
protected  MethodMeasurement output12Expression
          LDAP expression to trigger the state of output pin 12 based on input pin and control values.
protected  MethodMeasurement output13Expression
          LDAP expression to trigger the state of output pin 13 based on input pin and control values.
protected  MethodMeasurement output14Expression
          LDAP expression to trigger the state of output pin 14 based on input pin and control values.
protected  MethodMeasurement output15Expression
          LDAP expression to trigger the state of output pin 15 based on input pin and control values.
protected  MethodMeasurement output16Expression
          LDAP expression to trigger the state of output pin 16 based on input pin and control values.
protected  MethodMeasurement output17Expression
          LDAP expression to trigger the state of output pin 17 based on input pin and control values.
protected  MethodMeasurement output18Expression
          LDAP expression to trigger the state of output pin 18 based on input pin and control values.
protected  MethodMeasurement output19Expression
          LDAP expression to trigger the state of output pin 19 based on input pin and control values.
protected  MethodMeasurement output1Expression
          LDAP expression to trigger the state of output pin 1 based on input pin and control values.
protected  MethodMeasurement output20Expression
          LDAP expression to trigger the state of output pin 20 based on input pin and control values.
protected  MethodMeasurement output21Expression
          LDAP expression to trigger the state of output pin 21 based on input pin and control values.
protected  MethodMeasurement output22Expression
          LDAP expression to trigger the state of output pin 22 based on input pin and control values.
protected  MethodMeasurement output23Expression
          LDAP expression to trigger the state of output pin 23 based on input pin and control values.
protected  MethodMeasurement output24Expression
          LDAP expression to trigger the state of output pin 24 based on input pin and control values.
protected  MethodMeasurement output25Expression
          LDAP expression to trigger the state of output pin 25 based on input pin and control values.
protected  MethodMeasurement output26Expression
          LDAP expression to trigger the state of output pin 26 based on input pin and control values.
protected  MethodMeasurement output27Expression
          LDAP expression to trigger the state of output pin 27 based on input pin and control values.
protected  MethodMeasurement output28Expression
          LDAP expression to trigger the state of output pin 28 based on input pin and control values.
protected  MethodMeasurement output29Expression
          LDAP expression to trigger the state of output pin 29 based on input pin and control values.
protected  MethodMeasurement output2Expression
          LDAP expression to trigger the state of output pin 2 based on input pin and control values.
protected  MethodMeasurement output30Expression
          LDAP expression to trigger the state of output pin 30 based on input pin and control values.
protected  MethodMeasurement output31Expression
          LDAP expression to trigger the state of output pin 31 based on input pin and control values.
protected  MethodMeasurement output32Expression
          LDAP expression to trigger the state of output pin 32 based on input pin and control values.
protected  MethodMeasurement output3Expression
          LDAP expression to trigger the state of output pin 3 based on input pin and control values.
protected  MethodMeasurement output4Expression
          LDAP expression to trigger the state of output pin 4 based on input pin and control values.
protected  MethodMeasurement output5Expression
          LDAP expression to trigger the state of output pin 5 based on input pin and control values.
protected  MethodMeasurement output6Expression
          LDAP expression to trigger the state of output pin 6 based on input pin and control values.
protected  MethodMeasurement output7Expression
          LDAP expression to trigger the state of output pin 7 based on input pin and control values.
protected  MethodMeasurement output8Expression
          LDAP expression to trigger the state of output pin 8 based on input pin and control values.
protected  MethodMeasurement output9Expression
          LDAP expression to trigger the state of output pin 9 based on input pin and control values.
protected  ReadOnlyMeasurement outputCount
          OutputCount specifies the number of output pins supported by the device.
protected  Filter[] outputFilters
          Define the bit filters (Filter[]) field.
protected  java.util.Map outputOffMap
          Define the output off map (Map) field.
protected  java.util.Map outputOnMap
          Define the output on map (Map) field.
protected  MethodCommand outputRequest
          OutputRequest is the command interface to set the state of output pins.
 
Fields inherited from interface org.eclipse.soda.dk.gpio.profile.service.GpioProfileService
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, Capabilities, CAPABILITIES_ERROR_EXTERNAL_KEY, CAPABILITIES_EXTERNAL_KEY, CAPABILITIES_GET_EXTERNAL_KEY, Configuration, CONFIGURATION_ERROR_EXTERNAL_KEY, CONFIGURATION_EXTERNAL_KEY, CONFIGURATION_GET_EXTERNAL_KEY, GpioProfile, I1_DATA_KEY, I10_DATA_KEY, I11_DATA_KEY, I12_DATA_KEY, I13_DATA_KEY, I14_DATA_KEY, I15_DATA_KEY, I16_DATA_KEY, I17_DATA_KEY, I18_DATA_KEY, I19_DATA_KEY, I2_DATA_KEY, I20_DATA_KEY, I21_DATA_KEY, I22_DATA_KEY, I23_DATA_KEY, I24_DATA_KEY, I25_DATA_KEY, I26_DATA_KEY, I27_DATA_KEY, I28_DATA_KEY, I29_DATA_KEY, I3_DATA_KEY, I30_DATA_KEY, I31_DATA_KEY, I32_DATA_KEY, I4_DATA_KEY, I5_DATA_KEY, I6_DATA_KEY, I7_DATA_KEY, I8_DATA_KEY, I9_DATA_KEY, Input, INPUT_ERROR_EXTERNAL_KEY, INPUT_EXTERNAL_KEY, INPUT_GET_EXTERNAL_KEY, INPUT_NAMES, INPUT_READ_EXTERNAL_KEY, InputCount, INPUTCOUNT_ERROR_EXTERNAL_KEY, INPUTCOUNT_EXTERNAL_KEY, INPUTCOUNT_GET_EXTERNAL_KEY, INPUTCOUNT_READ_EXTERNAL_KEY, O0_DATA_KEY, O1_DATA_KEY, O10_DATA_KEY, O11_DATA_KEY, O12_DATA_KEY, O13_DATA_KEY, O14_DATA_KEY, O15_DATA_KEY, O16_DATA_KEY, O17_DATA_KEY, O18_DATA_KEY, O19_DATA_KEY, O2_DATA_KEY, O20_DATA_KEY, O21_DATA_KEY, O22_DATA_KEY, O23_DATA_KEY, O24_DATA_KEY, O25_DATA_KEY, O26_DATA_KEY, O27_DATA_KEY, O28_DATA_KEY, O29_DATA_KEY, O3_DATA_KEY, O30_DATA_KEY, O31_DATA_KEY, O32_DATA_KEY, O4_DATA_KEY, O5_DATA_KEY, O6_DATA_KEY, O7_DATA_KEY, O8_DATA_KEY, O9_DATA_KEY, Output, OUTPUT_ERROR_EXTERNAL_KEY, OUTPUT_EXTERNAL_KEY, OUTPUT_GET_EXTERNAL_KEY, OUTPUT_NAMES, OUTPUT_READ_EXTERNAL_KEY, Output10Expression, OUTPUT10EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT10EXPRESSION_EXTERNAL_KEY, OUTPUT10EXPRESSION_GET_EXTERNAL_KEY, OUTPUT10EXPRESSION_KEY, OUTPUT10EXPRESSION_READ_EXTERNAL_KEY, OUTPUT10EXPRESSION_WRITE_EXTERNAL_KEY, Output11Expression, OUTPUT11EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT11EXPRESSION_EXTERNAL_KEY, OUTPUT11EXPRESSION_GET_EXTERNAL_KEY, OUTPUT11EXPRESSION_KEY, OUTPUT11EXPRESSION_READ_EXTERNAL_KEY, OUTPUT11EXPRESSION_WRITE_EXTERNAL_KEY, Output12Expression, OUTPUT12EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT12EXPRESSION_EXTERNAL_KEY, OUTPUT12EXPRESSION_GET_EXTERNAL_KEY, OUTPUT12EXPRESSION_KEY, OUTPUT12EXPRESSION_READ_EXTERNAL_KEY, OUTPUT12EXPRESSION_WRITE_EXTERNAL_KEY, Output13Expression, OUTPUT13EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT13EXPRESSION_EXTERNAL_KEY, OUTPUT13EXPRESSION_GET_EXTERNAL_KEY, OUTPUT13EXPRESSION_KEY, OUTPUT13EXPRESSION_READ_EXTERNAL_KEY, OUTPUT13EXPRESSION_WRITE_EXTERNAL_KEY, Output14Expression, OUTPUT14EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT14EXPRESSION_EXTERNAL_KEY, OUTPUT14EXPRESSION_GET_EXTERNAL_KEY, OUTPUT14EXPRESSION_KEY, OUTPUT14EXPRESSION_READ_EXTERNAL_KEY, OUTPUT14EXPRESSION_WRITE_EXTERNAL_KEY, Output15Expression, OUTPUT15EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT15EXPRESSION_EXTERNAL_KEY, OUTPUT15EXPRESSION_GET_EXTERNAL_KEY, OUTPUT15EXPRESSION_KEY, OUTPUT15EXPRESSION_READ_EXTERNAL_KEY, OUTPUT15EXPRESSION_WRITE_EXTERNAL_KEY, Output16Expression, OUTPUT16EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT16EXPRESSION_EXTERNAL_KEY, OUTPUT16EXPRESSION_GET_EXTERNAL_KEY, OUTPUT16EXPRESSION_KEY, OUTPUT16EXPRESSION_READ_EXTERNAL_KEY, OUTPUT16EXPRESSION_WRITE_EXTERNAL_KEY, Output17Expression, OUTPUT17EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT17EXPRESSION_EXTERNAL_KEY, OUTPUT17EXPRESSION_GET_EXTERNAL_KEY, OUTPUT17EXPRESSION_KEY, OUTPUT17EXPRESSION_READ_EXTERNAL_KEY, OUTPUT17EXPRESSION_WRITE_EXTERNAL_KEY, Output18Expression, OUTPUT18EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT18EXPRESSION_EXTERNAL_KEY, OUTPUT18EXPRESSION_GET_EXTERNAL_KEY, OUTPUT18EXPRESSION_KEY, OUTPUT18EXPRESSION_READ_EXTERNAL_KEY, OUTPUT18EXPRESSION_WRITE_EXTERNAL_KEY, Output19Expression, OUTPUT19EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT19EXPRESSION_EXTERNAL_KEY, OUTPUT19EXPRESSION_GET_EXTERNAL_KEY, OUTPUT19EXPRESSION_KEY, OUTPUT19EXPRESSION_READ_EXTERNAL_KEY, OUTPUT19EXPRESSION_WRITE_EXTERNAL_KEY, Output1Expression, OUTPUT1EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT1EXPRESSION_EXTERNAL_KEY, OUTPUT1EXPRESSION_GET_EXTERNAL_KEY, OUTPUT1EXPRESSION_KEY, OUTPUT1EXPRESSION_READ_EXTERNAL_KEY, OUTPUT1EXPRESSION_WRITE_EXTERNAL_KEY, Output20Expression, OUTPUT20EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT20EXPRESSION_EXTERNAL_KEY, OUTPUT20EXPRESSION_GET_EXTERNAL_KEY, OUTPUT20EXPRESSION_KEY, OUTPUT20EXPRESSION_READ_EXTERNAL_KEY, OUTPUT20EXPRESSION_WRITE_EXTERNAL_KEY, Output21Expression, OUTPUT21EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT21EXPRESSION_EXTERNAL_KEY, OUTPUT21EXPRESSION_GET_EXTERNAL_KEY, OUTPUT21EXPRESSION_KEY, OUTPUT21EXPRESSION_READ_EXTERNAL_KEY, OUTPUT21EXPRESSION_WRITE_EXTERNAL_KEY, Output22Expression, OUTPUT22EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT22EXPRESSION_EXTERNAL_KEY, OUTPUT22EXPRESSION_GET_EXTERNAL_KEY, OUTPUT22EXPRESSION_KEY, OUTPUT22EXPRESSION_READ_EXTERNAL_KEY, OUTPUT22EXPRESSION_WRITE_EXTERNAL_KEY, Output23Expression, OUTPUT23EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT23EXPRESSION_EXTERNAL_KEY, OUTPUT23EXPRESSION_GET_EXTERNAL_KEY, OUTPUT23EXPRESSION_KEY, OUTPUT23EXPRESSION_READ_EXTERNAL_KEY, OUTPUT23EXPRESSION_WRITE_EXTERNAL_KEY, Output24Expression, OUTPUT24EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT24EXPRESSION_EXTERNAL_KEY, OUTPUT24EXPRESSION_GET_EXTERNAL_KEY, OUTPUT24EXPRESSION_KEY, OUTPUT24EXPRESSION_READ_EXTERNAL_KEY, OUTPUT24EXPRESSION_WRITE_EXTERNAL_KEY, Output25Expression, OUTPUT25EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT25EXPRESSION_EXTERNAL_KEY, OUTPUT25EXPRESSION_GET_EXTERNAL_KEY, OUTPUT25EXPRESSION_KEY, OUTPUT25EXPRESSION_READ_EXTERNAL_KEY, OUTPUT25EXPRESSION_WRITE_EXTERNAL_KEY, Output26Expression, OUTPUT26EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT26EXPRESSION_EXTERNAL_KEY, OUTPUT26EXPRESSION_GET_EXTERNAL_KEY, OUTPUT26EXPRESSION_KEY, OUTPUT26EXPRESSION_READ_EXTERNAL_KEY, OUTPUT26EXPRESSION_WRITE_EXTERNAL_KEY, Output27Expression, OUTPUT27EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT27EXPRESSION_EXTERNAL_KEY, OUTPUT27EXPRESSION_GET_EXTERNAL_KEY, OUTPUT27EXPRESSION_KEY, OUTPUT27EXPRESSION_READ_EXTERNAL_KEY, OUTPUT27EXPRESSION_WRITE_EXTERNAL_KEY, Output28Expression, OUTPUT28EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT28EXPRESSION_EXTERNAL_KEY, OUTPUT28EXPRESSION_GET_EXTERNAL_KEY, OUTPUT28EXPRESSION_KEY, OUTPUT28EXPRESSION_READ_EXTERNAL_KEY, OUTPUT28EXPRESSION_WRITE_EXTERNAL_KEY, Output29Expression, OUTPUT29EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT29EXPRESSION_EXTERNAL_KEY, OUTPUT29EXPRESSION_GET_EXTERNAL_KEY, OUTPUT29EXPRESSION_KEY, OUTPUT29EXPRESSION_READ_EXTERNAL_KEY, OUTPUT29EXPRESSION_WRITE_EXTERNAL_KEY, Output2Expression, OUTPUT2EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT2EXPRESSION_EXTERNAL_KEY, OUTPUT2EXPRESSION_GET_EXTERNAL_KEY, OUTPUT2EXPRESSION_KEY, OUTPUT2EXPRESSION_READ_EXTERNAL_KEY, OUTPUT2EXPRESSION_WRITE_EXTERNAL_KEY, Output30Expression, OUTPUT30EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT30EXPRESSION_EXTERNAL_KEY, OUTPUT30EXPRESSION_GET_EXTERNAL_KEY, OUTPUT30EXPRESSION_KEY, OUTPUT30EXPRESSION_READ_EXTERNAL_KEY, OUTPUT30EXPRESSION_WRITE_EXTERNAL_KEY, Output31Expression, OUTPUT31EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT31EXPRESSION_EXTERNAL_KEY, OUTPUT31EXPRESSION_GET_EXTERNAL_KEY, OUTPUT31EXPRESSION_KEY, OUTPUT31EXPRESSION_READ_EXTERNAL_KEY, OUTPUT31EXPRESSION_WRITE_EXTERNAL_KEY, Output32Expression, OUTPUT32EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT32EXPRESSION_EXTERNAL_KEY, OUTPUT32EXPRESSION_GET_EXTERNAL_KEY, OUTPUT32EXPRESSION_KEY, OUTPUT32EXPRESSION_READ_EXTERNAL_KEY, OUTPUT32EXPRESSION_WRITE_EXTERNAL_KEY, Output3Expression, OUTPUT3EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT3EXPRESSION_EXTERNAL_KEY, OUTPUT3EXPRESSION_GET_EXTERNAL_KEY, OUTPUT3EXPRESSION_KEY, OUTPUT3EXPRESSION_READ_EXTERNAL_KEY, OUTPUT3EXPRESSION_WRITE_EXTERNAL_KEY, Output4Expression, OUTPUT4EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT4EXPRESSION_EXTERNAL_KEY, OUTPUT4EXPRESSION_GET_EXTERNAL_KEY, OUTPUT4EXPRESSION_KEY, OUTPUT4EXPRESSION_READ_EXTERNAL_KEY, OUTPUT4EXPRESSION_WRITE_EXTERNAL_KEY, Output5Expression, OUTPUT5EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT5EXPRESSION_EXTERNAL_KEY, OUTPUT5EXPRESSION_GET_EXTERNAL_KEY, OUTPUT5EXPRESSION_KEY, OUTPUT5EXPRESSION_READ_EXTERNAL_KEY, OUTPUT5EXPRESSION_WRITE_EXTERNAL_KEY, Output6Expression, OUTPUT6EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT6EXPRESSION_EXTERNAL_KEY, OUTPUT6EXPRESSION_GET_EXTERNAL_KEY, OUTPUT6EXPRESSION_KEY, OUTPUT6EXPRESSION_READ_EXTERNAL_KEY, OUTPUT6EXPRESSION_WRITE_EXTERNAL_KEY, Output7Expression, OUTPUT7EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT7EXPRESSION_EXTERNAL_KEY, OUTPUT7EXPRESSION_GET_EXTERNAL_KEY, OUTPUT7EXPRESSION_KEY, OUTPUT7EXPRESSION_READ_EXTERNAL_KEY, OUTPUT7EXPRESSION_WRITE_EXTERNAL_KEY, Output8Expression, OUTPUT8EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT8EXPRESSION_EXTERNAL_KEY, OUTPUT8EXPRESSION_GET_EXTERNAL_KEY, OUTPUT8EXPRESSION_KEY, OUTPUT8EXPRESSION_READ_EXTERNAL_KEY, OUTPUT8EXPRESSION_WRITE_EXTERNAL_KEY, Output9Expression, OUTPUT9EXPRESSION_ERROR_EXTERNAL_KEY, OUTPUT9EXPRESSION_EXTERNAL_KEY, OUTPUT9EXPRESSION_GET_EXTERNAL_KEY, OUTPUT9EXPRESSION_KEY, OUTPUT9EXPRESSION_READ_EXTERNAL_KEY, OUTPUT9EXPRESSION_WRITE_EXTERNAL_KEY, OutputCount, OUTPUTCOUNT_ERROR_EXTERNAL_KEY, OUTPUTCOUNT_EXTERNAL_KEY, OUTPUTCOUNT_GET_EXTERNAL_KEY, OUTPUTCOUNT_READ_EXTERNAL_KEY, OutputRequest, OUTPUTREQUEST_ERROR_EXTERNAL_KEY, OUTPUTREQUEST_EXECUTE_EXTERNAL_KEY, OUTPUTREQUEST_EXTERNAL_KEY, SERVICE_NAME, Status, STATUS_ERROR_EXTERNAL_KEY, STATUS_EXTERNAL_KEY, STATUS_GET_EXTERNAL_KEY
 
Constructor Summary
GpioProfile()
          Constructs a new instance of the GpioProfile class.
 
Method Summary
protected  void applyOutputRequest(java.util.Map request)
          Apply output request with the specified request parameter.
protected  void evaluateFilters()
          Evalute.
 int getControlCapacity()
          Gets the control capacity.
 java.lang.String getControlProfilePrefix()
          Get the ControlProfilePrefix value.
 DeviceService getDefaultDevice()
          Gets the default DeviceService.@return DeviceService The default DeviceService.
 java.lang.String getDefaultKey()
          Gets the default key of the device.
 MeasurementService getInput()
          Input specifies the current states of the input pins.
 MeasurementService getInputCount()
          InputCount specifies the number of input pins supported by the device.
protected abstract  long getInputCountValue()
           
protected  java.util.Map getMergedMap(java.util.Map request, java.util.Map current, java.lang.String[] names)
          Get merged state with the specified request parameter and return the int result.
 int getMessageCapacity()
          Gets the message capacity.
 MeasurementService getOutput()
          Output specifies the current states of the output pins.
 MeasurementService getOutput10Expression()
          LDAP expression to trigger the state of output pin 10 based on input pin and control values.
 MeasurementService getOutput11Expression()
          LDAP expression to trigger the state of output pin 11 based on input pin and control values.
 MeasurementService getOutput12Expression()
          LDAP expression to trigger the state of output pin 12 based on input pin and control values.
 MeasurementService getOutput13Expression()
          LDAP expression to trigger the state of output pin 13 based on input pin and control values.
 MeasurementService getOutput14Expression()
          LDAP expression to trigger the state of output pin 14 based on input pin and control values.
 MeasurementService getOutput15Expression()
          LDAP expression to trigger the state of output pin 15 based on input pin and control values.
 MeasurementService getOutput16Expression()
          LDAP expression to trigger the state of output pin 16 based on input pin and control values.
 MeasurementService getOutput17Expression()
          LDAP expression to trigger the state of output pin 17 based on input pin and control values.
 MeasurementService getOutput18Expression()
          LDAP expression to trigger the state of output pin 18 based on input pin and control values.
 MeasurementService getOutput19Expression()
          LDAP expression to trigger the state of output pin 19 based on input pin and control values.
 MeasurementService getOutput1Expression()
          LDAP expression to trigger the state of output pin 1 based on input pin and control values.
 MeasurementService getOutput20Expression()
          LDAP expression to trigger the state of output pin 20 based on input pin and control values.
 MeasurementService getOutput21Expression()
          LDAP expression to trigger the state of output pin 21 based on input pin and control values.
 MeasurementService getOutput22Expression()
          LDAP expression to trigger the state of output pin 22 based on input pin and control values.
 MeasurementService getOutput23Expression()
          LDAP expression to trigger the state of output pin 23 based on input pin and control values.
 MeasurementService getOutput24Expression()
          LDAP expression to trigger the state of output pin 24 based on input pin and control values.
 MeasurementService getOutput25Expression()
          LDAP expression to trigger the state of output pin 25 based on input pin and control values.
 MeasurementService getOutput26Expression()
          LDAP expression to trigger the state of output pin 26 based on input pin and control values.
 MeasurementService getOutput27Expression()
          LDAP expression to trigger the state of output pin 27 based on input pin and control values.
 MeasurementService getOutput28Expression()
          LDAP expression to trigger the state of output pin 28 based on input pin and control values.
 MeasurementService getOutput29Expression()
          LDAP expression to trigger the state of output pin 29 based on input pin and control values.
 MeasurementService getOutput2Expression()
          LDAP expression to trigger the state of output pin 2 based on input pin and control values.
 MeasurementService getOutput30Expression()
          LDAP expression to trigger the state of output pin 30 based on input pin and control values.
 MeasurementService getOutput31Expression()
          LDAP expression to trigger the state of output pin 31 based on input pin and control values.
 MeasurementService getOutput32Expression()
          LDAP expression to trigger the state of output pin 32 based on input pin and control values.
 MeasurementService getOutput3Expression()
          LDAP expression to trigger the state of output pin 3 based on input pin and control values.
 MeasurementService getOutput4Expression()
          LDAP expression to trigger the state of output pin 4 based on input pin and control values.
 MeasurementService getOutput5Expression()
          LDAP expression to trigger the state of output pin 5 based on input pin and control values.
 MeasurementService getOutput6Expression()
          LDAP expression to trigger the state of output pin 6 based on input pin and control values.
 MeasurementService getOutput7Expression()
          LDAP expression to trigger the state of output pin 7 based on input pin and control values.
 MeasurementService getOutput8Expression()
          LDAP expression to trigger the state of output pin 8 based on input pin and control values.
 MeasurementService getOutput9Expression()
          LDAP expression to trigger the state of output pin 9 based on input pin and control values.
 MeasurementService getOutputCount()
          OutputCount specifies the number of output pins supported by the device.
protected abstract  long getOutputCountValue()
           
 CommandService getOutputRequest()
          OutputRequest is the command interface to set the state of output pins.
protected  boolean getStoredInputByName(java.lang.String name)
           
protected  boolean getStoredOutputByName(java.lang.String name)
          Get stored output by name with the specified name parameter and return the boolean result.
protected  void handleControlProfileServiceBits(java.lang.String externalKey, java.util.Dictionary data)
          Handle control profile service bits with the specified external key and data parameters.
protected  void handleControlProfileServiceLongs(java.lang.String externalKey, java.util.Dictionary data)
          Handle control profile service longs with the specified external key and data parameters.
protected  void handleExecuteOutputRequest(Command command, java.lang.Object data)
          Handle gpio output request with the specified command and data parameters.
 java.lang.Object handleMethodOutput10Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput11Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput12Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput13Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput14Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput15Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput16Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput17Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput18Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput19Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput1Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput20Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput21Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput22Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput23Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput24Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput25Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput26Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput27Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput28Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput29Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput2Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput30Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput31Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput32Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput3Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput4Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput5Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput6Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput7Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput8Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutput9Expression(int code, Measurement measurement, java.lang.Object data)
           
 java.lang.Object handleMethodOutputExpression(int code, Measurement measurement, java.lang.Object data, int pin)
           
 java.lang.Object handleMethodOutputRequest(int code, Command command, java.lang.Object data)
           
 boolean isDeviceNeeded()
           
 void measurementChanged(MeasurementService source, java.lang.Object timestamp, java.lang.Object newValue, java.lang.Object oldValue)
           
 void notificationReceived(java.lang.String externalKey, java.util.Dictionary data)
           
 void setupCustom()
           
 void setupNotification()
           
protected abstract  void turnOffAllOutputs()
          Turn off all outputs.
protected abstract  void turnOnAllOutputs()
          Turn on all outputs.
protected  void updateFilter(int index, java.lang.Object newValue)
          Update filter with the specified index and new value parameters.
protected abstract  void updateOutputs(java.util.Map fullState, java.util.Map individualRequest)
          Update outputs with the specified request parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the class name.

See Also:
Constant Field Values

CONTROL_PROFILE_PREFIX

public static final java.lang.String CONTROL_PROFILE_PREFIX
Define the ControlProfilePrefix configuration key.

See Also:
Constant Field Values

controlProfileServiceBitsExternalKey

protected java.lang.String controlProfileServiceBitsExternalKey

controlProfileServiceBitsGetExternalKey

protected java.lang.String controlProfileServiceBitsGetExternalKey

controlProfileServiceLongsExternalKey

protected java.lang.String controlProfileServiceLongsExternalKey

controlProfileServiceLongsGetExternalKey

protected java.lang.String controlProfileServiceLongsGetExternalKey

outputRequest

protected final MethodCommand outputRequest
OutputRequest is the command interface to set the state of output pins. The incoming request should be in the form of a Map with output pin keys (see Output data keys) and the requested Boolean values. The request can include 1 or more pins to be changed. A request to update an output pin which has an associated LDAP expression will be ignored. Pins are indexed beginning with 1. The "o0" data key signifies that the requested Boolean value should be applied to all output pins.

See Also:
handleMethodOutputRequest(int, Command, java.lang.Object)

inputCount

protected final ReadOnlyMeasurement inputCount
InputCount specifies the number of input pins supported by the device. InputCount is a read-only measurement and should be set only by the implementation class. InputCount is reported as a Long value.


outputCount

protected final ReadOnlyMeasurement outputCount
OutputCount specifies the number of output pins supported by the device. OutputCount is a read-only measurement and should be set only by the implementation class. OutputCount is reported as a Long value.


input

protected final ReadOnlyMeasurement input
Input specifies the current states of the input pins. Input is a read-only measurement reported as a Map value with input pin keys (see Input data keys) and Boolean state values. The measurement includes the state of multiple pins. Pins are indexed beginning with 1. When the state of 1 or more input pins changes, the measurement will include old and new states for all of the supported input pins. All pins may not be supported by the device. Get the InputCount measurement for the number of supported input pins.


output

protected final ReadOnlyMeasurement output
Output specifies the current states of the output pins. Output is a read-only measurement reported as a Map value with output pin keys (see Output data keys) and Boolean state values. The measurement includes the state of multiple pins. Pins are indexed beginning with 1. When the state of 1 or more output pins changes, the measurement will include old and new states for all of the supported output pins. All pins may not be supported by the device. Get the OutputCount measurement for the number of supported output pins.


output1Expression

protected final MethodMeasurement output1Expression
LDAP expression to trigger the state of output pin 1 based on input pin and control values.

See Also:
handleMethodOutput1Expression(int, Measurement, java.lang.Object)

output2Expression

protected final MethodMeasurement output2Expression
LDAP expression to trigger the state of output pin 2 based on input pin and control values.

See Also:
handleMethodOutput2Expression(int, Measurement, java.lang.Object)

output3Expression

protected final MethodMeasurement output3Expression
LDAP expression to trigger the state of output pin 3 based on input pin and control values.

See Also:
handleMethodOutput3Expression(int, Measurement, java.lang.Object)

output4Expression

protected final MethodMeasurement output4Expression
LDAP expression to trigger the state of output pin 4 based on input pin and control values.

See Also:
handleMethodOutput4Expression(int, Measurement, java.lang.Object)

output5Expression

protected final MethodMeasurement output5Expression
LDAP expression to trigger the state of output pin 5 based on input pin and control values.

See Also:
handleMethodOutput5Expression(int, Measurement, java.lang.Object)

output6Expression

protected final MethodMeasurement output6Expression
LDAP expression to trigger the state of output pin 6 based on input pin and control values.

See Also:
handleMethodOutput6Expression(int, Measurement, java.lang.Object)

output7Expression

protected final MethodMeasurement output7Expression
LDAP expression to trigger the state of output pin 7 based on input pin and control values.

See Also:
handleMethodOutput7Expression(int, Measurement, java.lang.Object)

output8Expression

protected final MethodMeasurement output8Expression
LDAP expression to trigger the state of output pin 8 based on input pin and control values.

See Also:
handleMethodOutput8Expression(int, Measurement, java.lang.Object)

output9Expression

protected final MethodMeasurement output9Expression
LDAP expression to trigger the state of output pin 9 based on input pin and control values.

See Also:
handleMethodOutput9Expression(int, Measurement, java.lang.Object)

output10Expression

protected final MethodMeasurement output10Expression
LDAP expression to trigger the state of output pin 10 based on input pin and control values.

See Also:
handleMethodOutput10Expression(int, Measurement, java.lang.Object)

output11Expression

protected final MethodMeasurement output11Expression
LDAP expression to trigger the state of output pin 11 based on input pin and control values.

See Also:
handleMethodOutput11Expression(int, Measurement, java.lang.Object)

output12Expression

protected final MethodMeasurement output12Expression
LDAP expression to trigger the state of output pin 12 based on input pin and control values.

See Also:
handleMethodOutput12Expression(int, Measurement, java.lang.Object)

output13Expression

protected final MethodMeasurement output13Expression
LDAP expression to trigger the state of output pin 13 based on input pin and control values.

See Also:
handleMethodOutput13Expression(int, Measurement, java.lang.Object)

output14Expression

protected final MethodMeasurement output14Expression
LDAP expression to trigger the state of output pin 14 based on input pin and control values.

See Also:
handleMethodOutput14Expression(int, Measurement, java.lang.Object)

output15Expression

protected final MethodMeasurement output15Expression
LDAP expression to trigger the state of output pin 15 based on input pin and control values.

See Also:
handleMethodOutput15Expression(int, Measurement, java.lang.Object)

output16Expression

protected final MethodMeasurement output16Expression
LDAP expression to trigger the state of output pin 16 based on input pin and control values.

See Also:
handleMethodOutput16Expression(int, Measurement, java.lang.Object)

output17Expression

protected final MethodMeasurement output17Expression
LDAP expression to trigger the state of output pin 17 based on input pin and control values.

See Also:
handleMethodOutput17Expression(int, Measurement, java.lang.Object)

output18Expression

protected final MethodMeasurement output18Expression
LDAP expression to trigger the state of output pin 18 based on input pin and control values.

See Also:
handleMethodOutput18Expression(int, Measurement, java.lang.Object)

output19Expression

protected final MethodMeasurement output19Expression
LDAP expression to trigger the state of output pin 19 based on input pin and control values.

See Also:
handleMethodOutput19Expression(int, Measurement, java.lang.Object)

output20Expression

protected final MethodMeasurement output20Expression
LDAP expression to trigger the state of output pin 20 based on input pin and control values.

See Also:
handleMethodOutput20Expression(int, Measurement, java.lang.Object)

output21Expression

protected final MethodMeasurement output21Expression
LDAP expression to trigger the state of output pin 21 based on input pin and control values.

See Also:
handleMethodOutput21Expression(int, Measurement, java.lang.Object)

output22Expression

protected final MethodMeasurement output22Expression
LDAP expression to trigger the state of output pin 22 based on input pin and control values.

See Also:
handleMethodOutput22Expression(int, Measurement, java.lang.Object)

output23Expression

protected final MethodMeasurement output23Expression
LDAP expression to trigger the state of output pin 23 based on input pin and control values.

See Also:
handleMethodOutput23Expression(int, Measurement, java.lang.Object)

output24Expression

protected final MethodMeasurement output24Expression
LDAP expression to trigger the state of output pin 24 based on input pin and control values.

See Also:
handleMethodOutput24Expression(int, Measurement, java.lang.Object)

output25Expression

protected final MethodMeasurement output25Expression
LDAP expression to trigger the state of output pin 25 based on input pin and control values.

See Also:
handleMethodOutput25Expression(int, Measurement, java.lang.Object)

output26Expression

protected final MethodMeasurement output26Expression
LDAP expression to trigger the state of output pin 26 based on input pin and control values.

See Also:
handleMethodOutput26Expression(int, Measurement, java.lang.Object)

output27Expression

protected final MethodMeasurement output27Expression
LDAP expression to trigger the state of output pin 27 based on input pin and control values.

See Also:
handleMethodOutput27Expression(int, Measurement, java.lang.Object)

output28Expression

protected final MethodMeasurement output28Expression
LDAP expression to trigger the state of output pin 28 based on input pin and control values.

See Also:
handleMethodOutput28Expression(int, Measurement, java.lang.Object)

output29Expression

protected final MethodMeasurement output29Expression
LDAP expression to trigger the state of output pin 29 based on input pin and control values.

See Also:
handleMethodOutput29Expression(int, Measurement, java.lang.Object)

output30Expression

protected final MethodMeasurement output30Expression
LDAP expression to trigger the state of output pin 30 based on input pin and control values.

See Also:
handleMethodOutput30Expression(int, Measurement, java.lang.Object)

output31Expression

protected final MethodMeasurement output31Expression
LDAP expression to trigger the state of output pin 31 based on input pin and control values.

See Also:
handleMethodOutput31Expression(int, Measurement, java.lang.Object)

output32Expression

protected final MethodMeasurement output32Expression
LDAP expression to trigger the state of output pin 32 based on input pin and control values.

See Also:
handleMethodOutput32Expression(int, Measurement, java.lang.Object)

outputOnMap

protected java.util.Map outputOnMap
Define the output on map (Map) field.


outputOffMap

protected java.util.Map outputOffMap
Define the output off map (Map) field.


inputFalseMap

protected java.util.Map inputFalseMap
Define the input false map (Map) field.


ldapMap

protected java.util.Hashtable ldapMap
Define the ldap map (Dictionary) field.


outputFilters

protected Filter[] outputFilters
Define the bit filters (Filter[]) field.

Constructor Detail

GpioProfile

public GpioProfile()
Constructs a new instance of the GpioProfile class.

Method Detail

getControlProfilePrefix

public java.lang.String getControlProfilePrefix()
Get the ControlProfilePrefix value.


notificationReceived

public void notificationReceived(java.lang.String externalKey,
                                 java.util.Dictionary data)

setupNotification

public void setupNotification()

measurementChanged

public void measurementChanged(MeasurementService source,
                               java.lang.Object timestamp,
                               java.lang.Object newValue,
                               java.lang.Object oldValue)

getDefaultKey

public java.lang.String getDefaultKey()
Gets the default key of the device.

Returns:
String The default key

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default DeviceService.@return DeviceService The default DeviceService.


isDeviceNeeded

public boolean isDeviceNeeded()

getControlCapacity

public int getControlCapacity()
Gets the control capacity.


getMessageCapacity

public int getMessageCapacity()
Gets the message capacity.

Returns:
int The message capacity.

getOutputRequest

public CommandService getOutputRequest()
OutputRequest is the command interface to set the state of output pins. The incoming request should be in the form of a Map with output pin keys (see Output data keys) and the requested Boolean values. The request can include 1 or more pins to be changed. A request to update an output pin which has an associated LDAP expression will be ignored. Pins are indexed beginning with 1. The "o0" data key signifies that the requested Boolean value should be applied to all output pins.

See Also:
handleMethodOutputRequest(int, Command, java.lang.Object)

getInputCount

public MeasurementService getInputCount()
InputCount specifies the number of input pins supported by the device. InputCount is a read-only measurement and should be set only by the implementation class. InputCount is reported as a Long value.


getOutputCount

public MeasurementService getOutputCount()
OutputCount specifies the number of output pins supported by the device. OutputCount is a read-only measurement and should be set only by the implementation class. OutputCount is reported as a Long value.


getInput

public MeasurementService getInput()
Input specifies the current states of the input pins. Input is a read-only measurement reported as a Map value with input pin keys (see Input data keys) and Boolean state values. The measurement includes the state of multiple pins. Pins are indexed beginning with 1. When the state of 1 or more input pins changes, the measurement will include old and new states for all of the supported input pins. All pins may not be supported by the device. Get the InputCount measurement for the number of supported input pins.


getOutput

public MeasurementService getOutput()
Output specifies the current states of the output pins. Output is a read-only measurement reported as a Map value with output pin keys (see Output data keys) and Boolean state values. The measurement includes the state of multiple pins. Pins are indexed beginning with 1. When the state of 1 or more output pins changes, the measurement will include old and new states for all of the supported output pins. All pins may not be supported by the device. Get the OutputCount measurement for the number of supported output pins.


getOutput1Expression

public MeasurementService getOutput1Expression()
LDAP expression to trigger the state of output pin 1 based on input pin and control values.

See Also:
handleMethodOutput1Expression(int, Measurement, java.lang.Object)

getOutput2Expression

public MeasurementService getOutput2Expression()
LDAP expression to trigger the state of output pin 2 based on input pin and control values.

See Also:
handleMethodOutput2Expression(int, Measurement, java.lang.Object)

getOutput3Expression

public MeasurementService getOutput3Expression()
LDAP expression to trigger the state of output pin 3 based on input pin and control values.

See Also:
handleMethodOutput3Expression(int, Measurement, java.lang.Object)

getOutput4Expression

public MeasurementService getOutput4Expression()
LDAP expression to trigger the state of output pin 4 based on input pin and control values.

See Also:
handleMethodOutput4Expression(int, Measurement, java.lang.Object)

getOutput5Expression

public MeasurementService getOutput5Expression()
LDAP expression to trigger the state of output pin 5 based on input pin and control values.

See Also:
handleMethodOutput5Expression(int, Measurement, java.lang.Object)

getOutput6Expression

public MeasurementService getOutput6Expression()
LDAP expression to trigger the state of output pin 6 based on input pin and control values.

See Also:
handleMethodOutput6Expression(int, Measurement, java.lang.Object)

getOutput7Expression

public MeasurementService getOutput7Expression()
LDAP expression to trigger the state of output pin 7 based on input pin and control values.

See Also:
handleMethodOutput7Expression(int, Measurement, java.lang.Object)

getOutput8Expression

public MeasurementService getOutput8Expression()
LDAP expression to trigger the state of output pin 8 based on input pin and control values.

See Also:
handleMethodOutput8Expression(int, Measurement, java.lang.Object)

getOutput9Expression

public MeasurementService getOutput9Expression()
LDAP expression to trigger the state of output pin 9 based on input pin and control values.

See Also:
handleMethodOutput9Expression(int, Measurement, java.lang.Object)

getOutput10Expression

public MeasurementService getOutput10Expression()
LDAP expression to trigger the state of output pin 10 based on input pin and control values.

See Also:
handleMethodOutput10Expression(int, Measurement, java.lang.Object)

getOutput11Expression

public MeasurementService getOutput11Expression()
LDAP expression to trigger the state of output pin 11 based on input pin and control values.

See Also:
handleMethodOutput11Expression(int, Measurement, java.lang.Object)

getOutput12Expression

public MeasurementService getOutput12Expression()
LDAP expression to trigger the state of output pin 12 based on input pin and control values.

See Also:
handleMethodOutput12Expression(int, Measurement, java.lang.Object)

getOutput13Expression

public MeasurementService getOutput13Expression()
LDAP expression to trigger the state of output pin 13 based on input pin and control values.

See Also:
handleMethodOutput13Expression(int, Measurement, java.lang.Object)

getOutput14Expression

public MeasurementService getOutput14Expression()
LDAP expression to trigger the state of output pin 14 based on input pin and control values.

See Also:
handleMethodOutput14Expression(int, Measurement, java.lang.Object)

getOutput15Expression

public MeasurementService getOutput15Expression()
LDAP expression to trigger the state of output pin 15 based on input pin and control values.

See Also:
handleMethodOutput15Expression(int, Measurement, java.lang.Object)

getOutput16Expression

public MeasurementService getOutput16Expression()
LDAP expression to trigger the state of output pin 16 based on input pin and control values.

See Also:
handleMethodOutput16Expression(int, Measurement, java.lang.Object)

getOutput17Expression

public MeasurementService getOutput17Expression()
LDAP expression to trigger the state of output pin 17 based on input pin and control values.

See Also:
handleMethodOutput17Expression(int, Measurement, java.lang.Object)

getOutput18Expression

public MeasurementService getOutput18Expression()
LDAP expression to trigger the state of output pin 18 based on input pin and control values.

See Also:
handleMethodOutput18Expression(int, Measurement, java.lang.Object)

getOutput19Expression

public MeasurementService getOutput19Expression()
LDAP expression to trigger the state of output pin 19 based on input pin and control values.

See Also:
handleMethodOutput19Expression(int, Measurement, java.lang.Object)

getOutput20Expression

public MeasurementService getOutput20Expression()
LDAP expression to trigger the state of output pin 20 based on input pin and control values.

See Also:
handleMethodOutput20Expression(int, Measurement, java.lang.Object)

getOutput21Expression

public MeasurementService getOutput21Expression()
LDAP expression to trigger the state of output pin 21 based on input pin and control values.

See Also:
handleMethodOutput21Expression(int, Measurement, java.lang.Object)

getOutput22Expression

public MeasurementService getOutput22Expression()
LDAP expression to trigger the state of output pin 22 based on input pin and control values.

See Also:
handleMethodOutput22Expression(int, Measurement, java.lang.Object)

getOutput23Expression

public MeasurementService getOutput23Expression()
LDAP expression to trigger the state of output pin 23 based on input pin and control values.

See Also:
handleMethodOutput23Expression(int, Measurement, java.lang.Object)

getOutput24Expression

public MeasurementService getOutput24Expression()
LDAP expression to trigger the state of output pin 24 based on input pin and control values.

See Also:
handleMethodOutput24Expression(int, Measurement, java.lang.Object)

getOutput25Expression

public MeasurementService getOutput25Expression()
LDAP expression to trigger the state of output pin 25 based on input pin and control values.

See Also:
handleMethodOutput25Expression(int, Measurement, java.lang.Object)

getOutput26Expression

public MeasurementService getOutput26Expression()
LDAP expression to trigger the state of output pin 26 based on input pin and control values.

See Also:
handleMethodOutput26Expression(int, Measurement, java.lang.Object)

getOutput27Expression

public MeasurementService getOutput27Expression()
LDAP expression to trigger the state of output pin 27 based on input pin and control values.

See Also:
handleMethodOutput27Expression(int, Measurement, java.lang.Object)

getOutput28Expression

public MeasurementService getOutput28Expression()
LDAP expression to trigger the state of output pin 28 based on input pin and control values.

See Also:
handleMethodOutput28Expression(int, Measurement, java.lang.Object)

getOutput29Expression

public MeasurementService getOutput29Expression()
LDAP expression to trigger the state of output pin 29 based on input pin and control values.

See Also:
handleMethodOutput29Expression(int, Measurement, java.lang.Object)

getOutput30Expression

public MeasurementService getOutput30Expression()
LDAP expression to trigger the state of output pin 30 based on input pin and control values.

See Also:
handleMethodOutput30Expression(int, Measurement, java.lang.Object)

getOutput31Expression

public MeasurementService getOutput31Expression()
LDAP expression to trigger the state of output pin 31 based on input pin and control values.

See Also:
handleMethodOutput31Expression(int, Measurement, java.lang.Object)

getOutput32Expression

public MeasurementService getOutput32Expression()
LDAP expression to trigger the state of output pin 32 based on input pin and control values.

See Also:
handleMethodOutput32Expression(int, Measurement, java.lang.Object)

setupCustom

public void setupCustom()

applyOutputRequest

protected void applyOutputRequest(java.util.Map request)
Apply output request with the specified request parameter.

Parameters:
request - The request (Map) parameter.
See Also:
getOutputRequest(), handleExecuteOutputRequest(Command,Object)

evaluateFilters

protected void evaluateFilters()
Evalute.


getMergedMap

protected java.util.Map getMergedMap(java.util.Map request,
                                     java.util.Map current,
                                     java.lang.String[] names)
Get merged state with the specified request parameter and return the int result.

Parameters:
request - The request (Map) parameter.
current - The current (Map) parameter.
names - The names (String[]) parameter.
Returns:
Results of the get merged state (int) value.

getStoredOutputByName

protected boolean getStoredOutputByName(java.lang.String name)
Get stored output by name with the specified name parameter and return the boolean result.

Parameters:
name - The name (String) parameter.
Returns:
Results of the get stored output by name (boolean) value.

getStoredInputByName

protected boolean getStoredInputByName(java.lang.String name)

handleControlProfileServiceBits

protected void handleControlProfileServiceBits(java.lang.String externalKey,
                                               java.util.Dictionary data)
Handle control profile service bits with the specified external key and data parameters.

Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

handleControlProfileServiceLongs

protected void handleControlProfileServiceLongs(java.lang.String externalKey,
                                                java.util.Dictionary data)
Handle control profile service longs with the specified external key and data parameters.

Parameters:
externalKey - The external key (String) parameter.
data - The data (Dictionary) parameter.

handleMethodOutputRequest

public java.lang.Object handleMethodOutputRequest(int code,
                                                  Command command,
                                                  java.lang.Object data)

handleExecuteOutputRequest

protected void handleExecuteOutputRequest(Command command,
                                          java.lang.Object data)
Handle gpio output request with the specified command and data parameters.

Parameters:
command - The command (Command) parameter.
data - The data (Object) parameter.

handleMethodOutputExpression

public java.lang.Object handleMethodOutputExpression(int code,
                                                     Measurement measurement,
                                                     java.lang.Object data,
                                                     int pin)

handleMethodOutput11Expression

public java.lang.Object handleMethodOutput11Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput10Expression

public java.lang.Object handleMethodOutput10Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput12Expression

public java.lang.Object handleMethodOutput12Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput13Expression

public java.lang.Object handleMethodOutput13Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput14Expression

public java.lang.Object handleMethodOutput14Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput15Expression

public java.lang.Object handleMethodOutput15Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput16Expression

public java.lang.Object handleMethodOutput16Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput17Expression

public java.lang.Object handleMethodOutput17Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput18Expression

public java.lang.Object handleMethodOutput18Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput19Expression

public java.lang.Object handleMethodOutput19Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput1Expression

public java.lang.Object handleMethodOutput1Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

handleMethodOutput20Expression

public java.lang.Object handleMethodOutput20Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput21Expression

public java.lang.Object handleMethodOutput21Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput22Expression

public java.lang.Object handleMethodOutput22Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput23Expression

public java.lang.Object handleMethodOutput23Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput24Expression

public java.lang.Object handleMethodOutput24Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput25Expression

public java.lang.Object handleMethodOutput25Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput26Expression

public java.lang.Object handleMethodOutput26Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput27Expression

public java.lang.Object handleMethodOutput27Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput28Expression

public java.lang.Object handleMethodOutput28Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput29Expression

public java.lang.Object handleMethodOutput29Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput2Expression

public java.lang.Object handleMethodOutput2Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

handleMethodOutput30Expression

public java.lang.Object handleMethodOutput30Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput31Expression

public java.lang.Object handleMethodOutput31Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput32Expression

public java.lang.Object handleMethodOutput32Expression(int code,
                                                       Measurement measurement,
                                                       java.lang.Object data)

handleMethodOutput3Expression

public java.lang.Object handleMethodOutput3Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

handleMethodOutput4Expression

public java.lang.Object handleMethodOutput4Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

handleMethodOutput5Expression

public java.lang.Object handleMethodOutput5Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

handleMethodOutput6Expression

public java.lang.Object handleMethodOutput6Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

handleMethodOutput7Expression

public java.lang.Object handleMethodOutput7Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

handleMethodOutput8Expression

public java.lang.Object handleMethodOutput8Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

handleMethodOutput9Expression

public java.lang.Object handleMethodOutput9Expression(int code,
                                                      Measurement measurement,
                                                      java.lang.Object data)

turnOffAllOutputs

protected abstract void turnOffAllOutputs()
Turn off all outputs.


turnOnAllOutputs

protected abstract void turnOnAllOutputs()
Turn on all outputs.


updateFilter

protected void updateFilter(int index,
                            java.lang.Object newValue)
Update filter with the specified index and new value parameters.

Parameters:
index - The index (int) parameter.
newValue - The new value (Object) parameter.

updateOutputs

protected abstract void updateOutputs(java.util.Map fullState,
                                      java.util.Map individualRequest)
Update outputs with the specified request parameter.

Parameters:
request - The request (Map) parameter.
See Also:
turnOffAllOutputs(), turnOnAllOutputs()

getInputCountValue

protected abstract long getInputCountValue()

getOutputCountValue

protected abstract long getOutputCountValue()

1.0.0

Copyright (c) 2007 IBM