public class InputHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected InputProcessor |
inputProcessor |
protected InputProcessor |
pausedInputPublisher |
protected String |
streamId |
protected int |
streamIndex |
| Constructor and Description |
|---|
InputHandler(String streamId,
int streamIndex,
InputProcessor inputProcessor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getStreamId() |
void |
send(Event event) |
void |
send(Event[] events) |
void |
send(long timeStamp,
Object[] data) |
void |
send(Object[] data) |
protected String streamId
protected int streamIndex
protected InputProcessor inputProcessor
protected InputProcessor pausedInputPublisher
public InputHandler(String streamId, int streamIndex, InputProcessor inputProcessor)
public String getStreamId()
public void send(Object[] data) throws InterruptedException
InterruptedExceptionpublic void send(long timeStamp,
Object[] data)
throws InterruptedException
InterruptedExceptionpublic void send(Event event) throws InterruptedException
InterruptedExceptionpublic void send(Event[] events) throws InterruptedException
InterruptedExceptionCopyright © 2018 WSO2. All Rights Reserved.