SessionManagerServiceBase constructor

SessionManagerServiceBase()

Implementation

SessionManagerServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.SessionConfig, $0.SessionConfig>(
      'CreateOneSession',
      createOneSession_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SessionConfig.fromBuffer(value),
      ($0.SessionConfig value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SessionConfig, $1.Empty>(
      'DeleteOneSession',
      deleteOneSession_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SessionConfig.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SessionConfig, $0.SessionConfig>(
      'GetOneSession',
      getOneSession_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SessionConfig.fromBuffer(value),
      ($0.SessionConfig value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Empty, $0.SessionList>(
      'GetAllSession',
      getAllSession_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
      ($0.SessionList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SessionConfig, $0.SessionConfig>(
      'UpdateSessionNameDescription',
      updateSessionNameDescription_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SessionConfig.fromBuffer(value),
      ($0.SessionConfig value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.StringValue, $2.Int64Value>(
      'GetOneSOCKS5PortByRunId',
      getOneSOCKS5PortByRunId_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
      ($2.Int64Value value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$2.StringValue, $2.Int64Value>(
      'GetOneHttpProxyPortByRunId',
      getOneHttpProxyPortByRunId_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
      ($2.Int64Value value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SessionConfig, $1.Empty>(
      'RefreshmDNSProxyList',
      refreshmDNSProxyList_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SessionConfig.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.PortList, $1.Empty>(
      'CreateTcpProxyList',
      createTcpProxyList_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.PortList.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SessionConfig, $0.PortList>(
      'GetAllTCP',
      getAllTCP_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SessionConfig.fromBuffer(value),
      ($0.PortList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SessionConfig, $0.OpenIoTHubOperationResponse>(
      'DeleteRemoteGatewayConfig',
      deleteRemoteGatewayConfig_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SessionConfig.fromBuffer(value),
      ($0.OpenIoTHubOperationResponse value) => value.writeToBuffer()));
}