InConnector¶
-
public interface
InConnector
extends Connector, FilterObserver¶ Implements receiving
rsb.Event
s from a specific transport.- Author
jwienke
Methods¶
addHandler¶
-
void
addHandler
(EventHandler handler)¶ Adds a handler which will be notified about newly received events. This method must not be called after calling
activate()
.- Parameters
handler – the handler to notify
removeHandler¶
-
boolean
removeHandler
(EventHandler handler)¶ Removes a registered handler so that it won’t be notified anymore. This method must not be called after calling
deactivate()
.- Parameters
handler – the handler to remove
- Returns
true
if the given handler was removed, elsefalse
, i.e. in case that handler was never registered.