com.espertech.esperio
Class SendableMapEvent
java.lang.Object
com.espertech.esperio.AbstractSendableEvent
com.espertech.esperio.SendableMapEvent
- All Implemented Interfaces:
- SendableEvent
public class SendableMapEvent
- extends AbstractSendableEvent
An implementation of SendableEvent that wraps a Map event for
sending into the runtime.
Constructor Summary |
SendableMapEvent(java.util.Map<java.lang.String,java.lang.Object> mapToSend,
java.lang.String eventTypeName,
long timestamp,
com.espertech.esper.schedule.ScheduleSlot scheduleSlot)
Ctor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SendableMapEvent
public SendableMapEvent(java.util.Map<java.lang.String,java.lang.Object> mapToSend,
java.lang.String eventTypeName,
long timestamp,
com.espertech.esper.schedule.ScheduleSlot scheduleSlot)
- Ctor.
- Parameters:
mapToSend
- - the map to send into the runtimeeventTypeName
- - the event type name for the map eventtimestamp
- - the timestamp for this eventscheduleSlot
- - the schedule slot for the entity that created this event
send
public void send(AbstractSender sender)
- Description copied from interface:
SendableEvent
- Send the event into the runtime.
- Specified by:
send
in interface SendableEvent
- Specified by:
send
in class AbstractSendableEvent
- Parameters:
sender
- - the sender to send an event
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object