Package io.siddhi.core.stream.input
Class InputHandler
- java.lang.Object
-
- io.siddhi.core.stream.input.InputHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected InputProcessorinputProcessorprotected InputProcessorpausedInputPublisherprotected SiddhiAppContextsiddhiAppContextprotected StringstreamIdprotected intstreamIndex
-
Constructor Summary
Constructors Constructor Description InputHandler(String streamId, int streamIndex, InputProcessor inputProcessor, SiddhiAppContext siddhiAppContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetStreamId()voidsend(long timestamp, Object[] data)voidsend(Event event)voidsend(Event[] events)voidsend(Object[] data)
-
-
-
Field Detail
-
streamId
protected String streamId
-
streamIndex
protected int streamIndex
-
inputProcessor
protected InputProcessor inputProcessor
-
siddhiAppContext
protected SiddhiAppContext siddhiAppContext
-
pausedInputPublisher
protected InputProcessor pausedInputPublisher
-
-
Constructor Detail
-
InputHandler
public InputHandler(String streamId, int streamIndex, InputProcessor inputProcessor, SiddhiAppContext siddhiAppContext)
-
-
Method Detail
-
getStreamId
public String getStreamId()
-
send
public void send(Object[] data) throws InterruptedException
- Throws:
InterruptedException
-
send
public void send(long timestamp, Object[] data) throws InterruptedException- Throws:
InterruptedException
-
send
public void send(Event event) throws InterruptedException
- Throws:
InterruptedException
-
send
public void send(Event[] events) throws InterruptedException
- Throws:
InterruptedException
-
-