registerPublisher method
inherited
Register the node by nodeName as a publisher of the specified topic
.
topic
is the fully qualified name of the topic
topicType
is the datatype for the topic. Must be a package-resource name i.e. the .msg name
xmlRpcUri is the XML-RPC URI of the caller node
Returns a list of XMLRPC API URIs for nodes currently subscribing the specified topic.
Implementation
Future<List<String>> registerPublisher(
String topic,
String topicType,
) async =>
(await _call('registerPublisher', [nodeName, topic, topicType, xmlRpcUri])
as List)
.cast<String>();