public interface InPushConnector extends InConnector
Activatable.State
Modifier and Type | Method and Description |
---|---|
void |
addHandler(EventHandler handler)
Adds a handler which will be notified about newly received events.
|
boolean |
removeHandler(EventHandler handler)
Removes a registered handler so that it won't be notified anymore.
|
getTransportUri, setQualityOfServiceSpec, setScope
activate, deactivate, isActive
notify
void addHandler(EventHandler handler)
Activatable.activate()
.handler
- the handler to notifyboolean removeHandler(EventHandler handler)
Activatable.deactivate()
.handler
- the handler to removetrue
if the given handler was removed, else
false
, i.e. in case that handler was never
registered.Copyright © 2018 CoR-Lab. All rights reserved.