com.ibm.sensorevent.engine.baseagent
Interface ITaskAgent

All Known Implementing Classes:
AbstractRUCAgent, AbstractTaskAgent, IBMSEAbstractTaskAgent

public interface ITaskAgent

ITaskAgent is the interface for class AbstractTaskAgent.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 void broadCast(ISensorEvent ibmse)
          Publishes the event to the topic generated from the event's sourceId and eventType
 void broadCast(java.lang.String topic, ISensorEvent ibmse)
          Publishes the event to the topic
 void publish(java.lang.String topic, java.io.Serializable obj, java.util.Map properties)
          Publishes the serializable object with data properties to the topic
 void publish(java.lang.String topic, java.lang.String message, java.util.Map properties)
          Publishes the string with data properties to the topic
 void publishOutbound(ISensorEvent ibmse)
          Publishes the event to its outbound topic
 void publishToCEP(java.lang.String eventname, java.util.Map<java.lang.String,java.lang.Object> eventmap)
          Publishes to complex event processing engine
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

publish

void publish(java.lang.String topic,
             java.lang.String message,
             java.util.Map properties)
Publishes the string with data properties to the topic

Parameters:
topic - topic to publish to
message - string to publish
properties - data properties to include when publishing

publish

void publish(java.lang.String topic,
             java.io.Serializable obj,
             java.util.Map properties)
Publishes the serializable object with data properties to the topic

Parameters:
topic - topic to publish to
obj - serializable object to publish
properties - data properties to include when publishing

broadCast

void broadCast(java.lang.String topic,
               ISensorEvent ibmse)
Publishes the event to the topic

Parameters:
topic - topic to publish to
ibmse - event to publish

broadCast

void broadCast(ISensorEvent ibmse)
Publishes the event to the topic generated from the event's sourceId and eventType

Parameters:
ibmse - the event to publish

publishToCEP

void publishToCEP(java.lang.String eventname,
                  java.util.Map<java.lang.String,java.lang.Object> eventmap)
Publishes to complex event processing engine

Parameters:
eventname - event name
eventmap - data

publishOutbound

void publishOutbound(ISensorEvent ibmse)
Publishes the event to its outbound topic

Parameters:
ibmse - the event to publish


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.