EncoderServiceBase constructor
EncoderServiceBase()
Implementation
EncoderServiceBase() {
$addMethod($grpc.ServiceMethod<$20.GetPositionRequest, $20.GetPositionResponse>(
'GetPosition',
getPosition_Pre,
false,
false,
($core.List<$core.int> value) => $20.GetPositionRequest.fromBuffer(value),
($20.GetPositionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$20.ResetPositionRequest, $20.ResetPositionResponse>(
'ResetPosition',
resetPosition_Pre,
false,
false,
($core.List<$core.int> value) => $20.ResetPositionRequest.fromBuffer(value),
($20.ResetPositionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$20.GetPropertiesRequest, $20.GetPropertiesResponse>(
'GetProperties',
getProperties_Pre,
false,
false,
($core.List<$core.int> value) => $20.GetPropertiesRequest.fromBuffer(value),
($20.GetPropertiesResponse 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()));
}