GrpcResourceCommunication constructor

GrpcResourceCommunication(
  1. String host,
  2. int port
)

Implementation

GrpcResourceCommunication(String host, int port) {
  _channel = ClientChannel(
    host,
    port: port,
    options: const ChannelOptions(credentials: ChannelCredentials.insecure()),
  );
  _client = DataCenterControlClient(_channel);
}