ConnectorType
- The type of Connector
instances used by implementing
classespublic interface RouteConfigurator<ConnectorType extends Connector> extends Activatable
Participant
instances to the concrete transport
implementations.Activatable.State
Modifier and Type | Method and Description |
---|---|
void |
addConnector(ConnectorType connector)
Adds a connector which will subsequently be used for for sending events.
|
Set<URI> |
getTransportUris()
Returns URIs describing the transports configured for this configurator.
|
boolean |
removeConnector(ConnectorType connector)
Removes a connector, which will not receive events for sending
afterwards.
|
activate, deactivate, isActive
void addConnector(ConnectorType connector)
Activatable.activate()
.connector
- connector to addboolean removeConnector(ConnectorType connector)
Activatable.activate()
.connector
- the connector to removetrue
if the connector was previously installed and
hence remove now, else false
Set<URI> getTransportUris()
null
IllegalStateException
- instance is in wrong state to get these URIsCopyright © 2018 CoR-Lab. All rights reserved.