public interface DataChannelProvider
DataChannel
provider.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID()
Returns the identifier of the provider.
|
DataChannel |
newChannel(java.lang.String name)
Creates a new
DataChannel with the given name. |
java.lang.String getID()
DataChannel newChannel(java.lang.String name)
DataChannel
with the given name. The mapping is implementation dependent.
For example, the channel name can serve to generate a file ([path]/[name]
), or an URI (https://myserver/api/[name]
) or a MQTT topic (/prefix/[name]
).name
- the channel simple name. Only alphanumeric characters, -
, _
and /
are allowed.