Connector¶
-
public interface
Connector
extends Activatable¶ A generic interface for classes providing connection to a specific transport mechanism.
- Author
jwienke, swrede
Methods¶
getTransportUri¶
-
URI
getTransportUri
()¶ Return the URI describing this connector. Only valid if activated.
- Throws
IllegalStateException – instance is in wrong state to prepare the URI
- Returns
URI, not
null
setQualityOfServiceSpec¶
-
void
setQualityOfServiceSpec
(QualityOfServiceSpec spec)¶ Sets the quality of service requirements on sending and receiving event notifications.
- Parameters
spec – new spec to apply
setScope¶
-
void
setScope
(Scope scope)¶ Sets the scope this connector is working on. Needs to be called before the
activate()
method of the connector is called.- Parameters
scope – the scope