BaseServiceBase constructor
Implementation
BaseServiceBase() {
$addMethod($grpc.ServiceMethod<$17.MoveStraightRequest, $17.MoveStraightResponse>(
'MoveStraight',
moveStraight_Pre,
false,
false,
($core.List<$core.int> value) => $17.MoveStraightRequest.fromBuffer(value),
($17.MoveStraightResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$17.SpinRequest, $17.SpinResponse>(
'Spin',
spin_Pre,
false,
false,
($core.List<$core.int> value) => $17.SpinRequest.fromBuffer(value),
($17.SpinResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$17.SetPowerRequest, $17.SetPowerResponse>(
'SetPower',
setPower_Pre,
false,
false,
($core.List<$core.int> value) => $17.SetPowerRequest.fromBuffer(value),
($17.SetPowerResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$17.SetVelocityRequest, $17.SetVelocityResponse>(
'SetVelocity',
setVelocity_Pre,
false,
false,
($core.List<$core.int> value) => $17.SetVelocityRequest.fromBuffer(value),
($17.SetVelocityResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$17.StopRequest, $17.StopResponse>(
'Stop',
stop_Pre,
false,
false,
($core.List<$core.int> value) => $17.StopRequest.fromBuffer(value),
($17.StopResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$17.IsMovingRequest, $17.IsMovingResponse>(
'IsMoving',
isMoving_Pre,
false,
false,
($core.List<$core.int> value) => $17.IsMovingRequest.fromBuffer(value),
($17.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()));
$addMethod($grpc.ServiceMethod<$17.GetPropertiesRequest, $17.GetPropertiesResponse>(
'GetProperties',
getProperties_Pre,
false,
false,
($core.List<$core.int> value) => $17.GetPropertiesRequest.fromBuffer(value),
($17.GetPropertiesResponse value) => value.writeToBuffer()));
}