GrpcAgentCommunication constructor

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

Implementation

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