|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputAdapter
An InputAdapter takes some external data, converts it into events, and sends it into the runtime engine.
Method Summary | |
---|---|
void |
destroy()
Destroy the InputAdapter, stopping the sending of all events and releasing all the resources, and disallowing any further state changes on the InputAdapter. |
AdapterState |
getState()
Get the state of this InputAdapter. |
void |
pause()
Pause the sending of events after a Adapter has been started. |
void |
resume()
Resume sending events after the InputAdapter has been paused. |
void |
start()
Start the sending of events into the runtime egine. |
void |
stop()
Stop sending events and return the Adapter to the OPENED state, ready to be started once again. |
Method Detail |
---|
void start() throws net.esper.client.EPException
net.esper.client.EPException
- in case of errors processing the eventsvoid pause() throws net.esper.client.EPException
net.esper.client.EPException
- if this Adapter has already been stoppedvoid resume() throws net.esper.client.EPException
net.esper.client.EPException
- in case of errors processing the eventsvoid stop() throws net.esper.client.EPException
net.esper.client.EPException
- in case of errors releasing resourcesvoid destroy()
AdapterState getState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |