com.espertech.esperio.representation.axiom
Class AxionEventSender
java.lang.Object
com.espertech.esperio.representation.axiom.AxionEventSender
- All Implemented Interfaces:
- com.espertech.esper.client.EventSender
public class AxionEventSender
- extends java.lang.Object
- implements com.espertech.esper.client.EventSender
A event sender implementation that understands Apache Axiom OMNode events
and checks that the root element name matches the expected event type's root element name.
See AxiomEventRepresentation
for more details.
Method Summary |
void |
processEvent(java.lang.Object node,
boolean isRoute)
|
void |
route(java.lang.Object theEvent)
|
void |
sendEvent(java.lang.Object theEvent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxionEventSender
public AxionEventSender(AxiomXMLEventType eventType,
com.espertech.esper.core.service.EPRuntimeEventSender runtimeEventSender)
- Ctor.
- Parameters:
eventType
- the axiom event metadataruntimeEventSender
- the sender to send events into
sendEvent
public void sendEvent(java.lang.Object theEvent)
- Specified by:
sendEvent
in interface com.espertech.esper.client.EventSender
route
public void route(java.lang.Object theEvent)
- Specified by:
route
in interface com.espertech.esper.client.EventSender
processEvent
public void processEvent(java.lang.Object node,
boolean isRoute)