Interface EventStreamHandler.Factory
- All Superinterfaces:
EventStreamRegistry.Item
- Enclosing interface:
- EventStreamHandler
Registered with
EventStreamRegistry
to create concrete implementation of
EventStreamHandler
from the provided configuration.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(EventStreamContext context, com.inductiveautomation.ignition.common.gson.JsonObject jsonConfig) Called once when Event Stream is first created.default String
-
Method Details
-
getTypeId
- Specified by:
getTypeId
in interfaceEventStreamRegistry.Item
-
getDescriptor
HandlerDescriptor getDescriptor() -
create
EventStreamHandler create(EventStreamContext context, com.inductiveautomation.ignition.common.gson.JsonObject jsonConfig) throws Exception Called once when Event Stream is first created.- Parameters:
context
-EventStreamContext
jsonConfig
-EventStreamHandler
configuration that defines its behavior- Returns:
EventStreamSource
- Throws:
Exception
-