getAllTCP static method
Implementation
static Future<PortList> getAllTCP(Device device) async {
final channel = await Channel.getOpenIoTHubChannel();
final stub = CommonDeviceManagerClient(channel);
final response = await stub.getAllTCP(device);
print('Greeter client received: ${response}');
channel.shutdown();
return response;
}