ServoServiceBase constructor

ServoServiceBase()

Implementation

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