ServoServiceBase constructor

ServoServiceBase()

Implementation

ServoServiceBase() {
  $addMethod($grpc.ServiceMethod<$28.MoveRequest, $28.MoveResponse>(
      'Move',
      move_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $28.MoveRequest.fromBuffer(value),
      ($28.MoveResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$28.GetPositionRequest, $28.GetPositionResponse>(
      'GetPosition',
      getPosition_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $28.GetPositionRequest.fromBuffer(value),
      ($28.GetPositionResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$28.StopRequest, $28.StopResponse>(
      'Stop',
      stop_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $28.StopRequest.fromBuffer(value),
      ($28.StopResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$28.IsMovingRequest, $28.IsMovingResponse>(
      'IsMoving',
      isMoving_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $28.IsMovingRequest.fromBuffer(value),
      ($28.IsMovingResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>(
      'DoCommand',
      doCommand_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value),
      ($14.DoCommandResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>(
      'GetGeometries',
      getGeometries_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value),
      ($14.GetGeometriesResponse value) => value.writeToBuffer()));
}