Package com.hivemq.adapter.sdk.api.model
Interface ProtocolAdapterInput<E extends ProtocolSpecificAdapterConfig>
- Type Parameters:
E- the ProtocolAdapterConfig implementation for this Protocol Adapter
public interface ProtocolAdapterInput<E extends ProtocolSpecificAdapterConfig>
Object containing information and services for the construction of adapter instances
-
Method Summary
-
Method Details
-
getAdapterId
- Returns:
- the concrete config implementation for this protocol adapter
-
getConfig
- Returns:
- the concrete config implementation for this protocol adapter
-
getTags
- Returns:
- the concrete list of tags for this protocol adapter
-
getVersion
- Returns:
- the current HiveMQ Edge version
-
getProtocolAdapterState
- Returns:
- the
ProtocolAdapterStatefor this adapter. Via this object changes in the connection and runtime status of the adapter can be made.
-
moduleServices
- Returns:
- Object that contains a variety of services useful for the start of a protocol adapter.
-
adapterFactories
- Returns:
- Object that contains a variety of factories for creating concrete implementations of the interfaces within the SDK.
-
getProtocolAdapterMetricsHelper
- Returns:
- the
ProtocolAdapterMetricsServiceto increment and decrement metrics for the adapter.
-
getPollingContexts
- Returns:
- the List of configured mappings from edge to mqtt
-