Class AbstractMqttTransportConnector
java.lang.Object
de.iip_ecosphere.platform.transport.connectors.impl.AbstractTransportConnector
de.iip_ecosphere.platform.transport.connectors.basics.AbstractMqttTransportConnector
- All Implemented Interfaces:
TransportConnector
An abstract MQTT transport connector.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class de.iip_ecosphere.platform.transport.connectors.impl.AbstractTransportConnector
AbstractTransportConnector.AuthenticationConsumer -
Field Summary
Fields inherited from interface de.iip_ecosphere.platform.transport.connectors.TransportConnector
EMPTY_PARENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomposeNames(String parent, String name) Composes a hierarchical stream name (in the syntax/semantics of the connector).composeStreamName(String parent, String name) Composes a hierarchical stream name (in the syntax/semantics of the connector).Methods inherited from class de.iip_ecosphere.platform.transport.connectors.impl.AbstractTransportConnector
applyAuthenticationKey, applyAuthenticationKey, applyIdentityToken, applyIdentityToken, connect, createTlsContext, detachReceptionCallback, disconnect, getActionTimeout, getApplicationId, getApplicationId, getCallback, getCloseAction, getSerializerProvider, getTransportParameter, isStreamKnown, notifyCallback, registerStream, serialize, setReceptionCallback, setSerializerProvider, unsubscribe, useTlsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.transport.connectors.TransportConnector
asyncSend, enabledEncryption, getName, supportedEncryption, syncSend
-
Constructor Details
-
AbstractMqttTransportConnector
public AbstractMqttTransportConnector()
-
-
Method Details
-
composeNames
Composes a hierarchical stream name (in the syntax/semantics of the connector).- Parameters:
parent- the parent name (may beTransportConnector.EMPTY_PARENTfor top-level streams)name- the name of the stream- Returns:
- the composed name
- Throws:
IllegalArgumentException- in case that the stream name is (structurally) illegal
-
composeStreamName
Description copied from interface:TransportConnectorComposes a hierarchical stream name (in the syntax/semantics of the connector).- Parameters:
parent- the parent name (may beTransportConnector.EMPTY_PARENTfor top-level streams)name- the name of the stream- Returns:
- the composed name
-