Interface CustomEventHandler
-
public interface CustomEventHandler
This handler is used to raise aCustomEvent
to be processed by anyCustomEventListener
that has theCustomEventFilter
annotation and is listening to the specific event name. The correspondingCustomEventListener
may also be located within another novomind iAGENT process. The event will be processed by any appropriateCustomEventListener
within the same process or another connected and running iAGENT process. TheCustomEventHandler
can be used in the novomind iAGENT routing process, the novomind iAGENT Desk process, the novomind iAGENT Chat Agent process and also in the novomind iAGENT Core process.- Since:
- 12.20
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
raiseEvent(CustomEvent customEvent)
This method raises aCustomEvent
to be processed by any appropriateCustomEventListener
.
-
-
-
Method Detail
-
raiseEvent
void raiseEvent(CustomEvent customEvent) throws ValidationException
This method raises aCustomEvent
to be processed by any appropriateCustomEventListener
.- Parameters:
customEvent
- TheCustomEvent
to be raised- Throws:
ValidationException
- in case of invalid event name or size limit exceeding of event attributes- Since:
- 12.20
-
-