Package com.espertech.esperio.csv
Class SendableBeanEvent
java.lang.Object
com.espertech.esperio.csv.AbstractSendableEvent
com.espertech.esperio.csv.SendableBeanEvent
- All Implemented Interfaces:
SendableEvent
An implementation of SendableEvent that wraps a Map event for
sending into the runtime.
-
Constructor Summary
-
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
-
SendableBeanEvent
public SendableBeanEvent(Map<String, Object> mapToSend, Class beanClass, String eventTypeName, long timestamp, long scheduleSlot) Converts mapToSend to an instance of beanClass- Parameters:
mapToSend
- - the map containing data to send into the runtimebeanClass
- - type of the bean to create from mapToSendeventTypeName
- - 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
-