Package com.espertech.esperio.csv
Class SendableMapEvent
java.lang.Object
com.espertech.esperio.csv.AbstractSendableEvent
com.espertech.esperio.csv.SendableMapEvent
- All Implemented Interfaces:
SendableEvent
An implementation of SendableEvent that wraps a Map event for
sending into the runtime.
-
Constructor Summary
ConstructorDescriptionSendableMapEvent
(Map<String, Object> mapToSend, String eventTypeName, long timestamp, long scheduleSlot) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
send
(AbstractSender sender) Send the event into the runtime.toString()
Methods inherited from class com.espertech.esperio.csv.AbstractSendableEvent
getScheduleSlot, getSendTime
-
Constructor Details
-
SendableMapEvent
public SendableMapEvent(Map<String, Object> mapToSend, String eventTypeName, long timestamp, long 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
-
-
Method Details
-
send
Description copied from interface:SendableEvent
Send the event into the runtime.- Specified by:
send
in interfaceSendableEvent
- Specified by:
send
in classAbstractSendableEvent
- Parameters:
sender
- - the sender to send an event
-
toString
-