com.espertech.esper.client
Interface EventSender

All Known Implementing Classes:
EventSenderBean, EventSenderImpl, EventSenderMap, EventSenderXMLDOM

public interface EventSender

Returns a facility to process event objects that are of a known type.

Obtained via the method EPRuntime.getEventSender(String) the sender is specific to a given event type and may not process event objects of any other event type; See the method documentatiom for more details.

Obtained via the method EPRuntime.getEventSender(java.net.URI[]) the sender cooperates with plug-in event representations to reflect upon the event object to determine an appropriate event type to process the event.


Method Summary
 void sendEvent(Object event)
          Processes the event object.
 

Method Detail

sendEvent

void sendEvent(Object event)
               throws EPException
Processes the event object.

Parameters:
event - to process
Throws:
EPException - if a runtime error occured.

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com