requestTopic method
Our client's api to request a topic from another node
Implementation
Future<ProtocolParams> requestTopic(String remoteAddress, int remotePort,
String topic, List<List<String>> protocols) {
log.superdebug.info(
'Requesting topic $topic from $remoteAddress:$remotePort with protocols: $protocols');
final slave = SlaveApiClient(nodeName, remoteAddress, remotePort);
return slave.requestTopic(topic, protocols);
}