hiit.parser.rule
Class BluetoothProximityRule

java.lang.Object
  extended by hiit.parser.rule.BluetoothProximityRule
All Implemented Interfaces:
BetelgeuseParserRule

public class BluetoothProximityRule
extends java.lang.Object
implements BetelgeuseParserRule


Constructor Summary
BluetoothProximityRule()
           
 
Method Summary
 boolean addParameterData(java.lang.String name)
           
 boolean addSensorData(int type)
           
 java.lang.String[] getParamNames()
           
 int[] getReaderTypes()
           
 java.lang.String getRuleName()
           
 int process(java.sql.Statement statement, int[] message, long elementId, int numberOfParameters, long sensorId, java.util.Hashtable<java.lang.Integer,java.lang.Long> mappings, java.util.Hashtable<java.lang.Long,java.lang.String> dbId_paramName, int sensorType, long timestamp)
           
 int process(java.sql.Statement statement, java.lang.String param, long elementId, long sensorId, long paramDbId, java.lang.String paramName, long timestamp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BluetoothProximityRule

public BluetoothProximityRule()
Method Detail

getParamNames

public java.lang.String[] getParamNames()
Specified by:
getParamNames in interface BetelgeuseParserRule

getReaderTypes

public int[] getReaderTypes()
Specified by:
getReaderTypes in interface BetelgeuseParserRule

process

public int process(java.sql.Statement statement,
                   int[] message,
                   long elementId,
                   int numberOfParameters,
                   long sensorId,
                   java.util.Hashtable<java.lang.Integer,java.lang.Long> mappings,
                   java.util.Hashtable<java.lang.Long,java.lang.String> dbId_paramName,
                   int sensorType,
                   long timestamp)
Specified by:
process in interface BetelgeuseParserRule

process

public int process(java.sql.Statement statement,
                   java.lang.String param,
                   long elementId,
                   long sensorId,
                   long paramDbId,
                   java.lang.String paramName,
                   long timestamp)
Specified by:
process in interface BetelgeuseParserRule

addParameterData

public boolean addParameterData(java.lang.String name)
Specified by:
addParameterData in interface BetelgeuseParserRule

addSensorData

public boolean addSensorData(int type)
Specified by:
addSensorData in interface BetelgeuseParserRule

getRuleName

public java.lang.String getRuleName()
Specified by:
getRuleName in interface BetelgeuseParserRule