com.ibm.sensorevent.service.component.accessor
Class AccessorBaseHelper
java.lang.Object
com.ibm.sensorevent.service.component.accessor.AccessorBaseHelper
- Direct Known Subclasses:
- AccessorHelper
public abstract class AccessorBaseHelper
- extends java.lang.Object
Field Summary |
static java.lang.String |
COPYRIGHT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
AccessorBaseHelper
public AccessorBaseHelper()
convertStringToEvent
public ISensorEvent convertStringToEvent(java.lang.String event_xml)
throws SensorEventException
- Create ISensorEvent object from event XML
Then call handleIBMSensorEvent
- Parameters:
XML
-
- Returns:
- ISensorEvent
- Throws:
SensorEventException
convertMapToEventPayload
public ISensorEvent convertMapToEventPayload(java.util.Map event_payload_map)
throws SensorEventException
- Deprecated. Use
convertMapToEventPayload(Map,String,String)
instead
- Create ISensorEvent object from event payload Map
Then call handleIBMSensorEvent
- Parameters:
event_map
- Name-value pairs to put in the event payloadevent_type
- Used when creating event with this payload Map
- Throws:
SensorEventException
convertMapToEventPayload
public ISensorEvent convertMapToEventPayload(java.util.Map event_payload_map,
java.lang.String eventType,
java.lang.String sourceId)
throws SensorEventException
- Create ISensorEvent object from event payload Map
Then call handleIBMSensorEvent
- Parameters:
event_map
- Name-value pairs to put in the event payloadevent_type
- Used when creating event with this payload Map
- Throws:
SensorEventException
convertMapToCompleteEvent
public ISensorEvent convertMapToCompleteEvent(java.util.Map event_map)
throws SensorEventException
- Create ISensorEvent object from event Map
Then call handleIBMSensorEvent
- Parameters:
event_map
- Name-value pairs to put in the event payloadevent_type
- Used when creating event with this payload Map
- Throws:
SensorEventException
Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.