public interface DataChannelProvider
DataChannel
provider.Modifier and Type | Method and Description |
---|---|
String |
getID()
Returns the identifier of the provider.
|
DataChannel |
newChannel(String name)
Creates a new
DataChannel with the given name. |
String getID()
DataChannel newChannel(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.