|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sensorevent.service.component.accessor.AccessorBaseHelper
com.ibm.sensorevent.service.component.accessor.AccessorHelper
public abstract class AccessorHelper
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
AccessorHelper()
|
Method Summary | |
---|---|
protected abstract void |
handleIBMSensorEvent(ISensorEvent event)
This method gets called by the framework when onMessage is called and the message is an ISensorEvent in some form Assumes the necessary conversion to ISensorEvent has been done. |
protected abstract void |
handleNonIBMSensorEvent(javax.jms.Message message)
This method gets called by the framework when onMessage is called and the message is NOT an ISensorEvent in some form Assumes no conversion to ISensorEvent has been done. |
void |
onMessage(javax.jms.Message message)
Message handler for JMS messages; calls the method onIBMSensorEvent if the message is a sensor event or calls onEvent if the message is not an IBMSensorEvent |
Methods inherited from class com.ibm.sensorevent.service.component.accessor.AccessorBaseHelper |
---|
convertMapToCompleteEvent, convertMapToEventPayload, convertMapToEventPayload, convertStringToEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public AccessorHelper()
Method Detail |
---|
protected abstract void handleIBMSensorEvent(ISensorEvent event)
event
- protected abstract void handleNonIBMSensorEvent(javax.jms.Message message)
message
- public void onMessage(javax.jms.Message message)
message
- the MMS message to process
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |