public interface Adapter
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy the Adapter, stopping the sending of all events and releasing all
the resources, and disallowing any further state changes on the Adapter.
|
AdapterState |
getState()
Get the state of this Adapter.
|
void |
pause()
Pause the sending of events after a Adapter has been started.
|
void |
resume()
Resume sending events after the Adapter 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.
|
void start() throws EPException
EPException
- in case of errors processing the eventsvoid pause() throws EPException
EPException
- if this Adapter has already been stoppedvoid resume() throws EPException
EPException
- in case of errors processing the eventsvoid stop() throws EPException
EPException
- in case of errors releasing resourcesvoid destroy() throws EPException
EPException
- to indicate errors during destroyAdapterState getState()