PortManagerServiceBase constructor

PortManagerServiceBase()

Implementation

PortManagerServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.Empty, $6.PortInfoList>(
      'GetAllPorts',
      getAllPorts_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
      ($6.PortInfoList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$6.PortInfo, $0.OperationResponse>(
      'AddPort',
      addPort_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $6.PortInfo.fromBuffer(value),
      ($0.OperationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$6.PortInfo, $0.OperationResponse>(
      'UpdatePort',
      updatePort_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $6.PortInfo.fromBuffer(value),
      ($0.OperationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$6.PortInfo, $0.OperationResponse>(
      'DelPort',
      delPort_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $6.PortInfo.fromBuffer(value),
      ($0.OperationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.Empty, $6.PortInfoList>(
      'GetAllPortInfoListByServerUuid',
      getAllPortInfoListByServerUuid_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
      ($6.PortInfoList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.Empty, $6.HttpInfoList>(
      'GetAllHttpInfoListByServerUuid',
      getAllHttpInfoListByServerUuid_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
      ($6.HttpInfoList value) => value.writeToBuffer()));
}