NavigationServiceBase constructor
Implementation
NavigationServiceBase() {
$addMethod($grpc.ServiceMethod<$40.GetModeRequest, $40.GetModeResponse>(
'GetMode',
getMode_Pre,
false,
false,
($core.List<$core.int> value) => $40.GetModeRequest.fromBuffer(value),
($40.GetModeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.SetModeRequest, $40.SetModeResponse>(
'SetMode',
setMode_Pre,
false,
false,
($core.List<$core.int> value) => $40.SetModeRequest.fromBuffer(value),
($40.SetModeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.GetLocationRequest, $40.GetLocationResponse>(
'GetLocation',
getLocation_Pre,
false,
false,
($core.List<$core.int> value) => $40.GetLocationRequest.fromBuffer(value),
($40.GetLocationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.GetWaypointsRequest, $40.GetWaypointsResponse>(
'GetWaypoints',
getWaypoints_Pre,
false,
false,
($core.List<$core.int> value) => $40.GetWaypointsRequest.fromBuffer(value),
($40.GetWaypointsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.AddWaypointRequest, $40.AddWaypointResponse>(
'AddWaypoint',
addWaypoint_Pre,
false,
false,
($core.List<$core.int> value) => $40.AddWaypointRequest.fromBuffer(value),
($40.AddWaypointResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.RemoveWaypointRequest, $40.RemoveWaypointResponse>(
'RemoveWaypoint',
removeWaypoint_Pre,
false,
false,
($core.List<$core.int> value) => $40.RemoveWaypointRequest.fromBuffer(value),
($40.RemoveWaypointResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.GetObstaclesRequest, $40.GetObstaclesResponse>(
'GetObstacles',
getObstacles_Pre,
false,
false,
($core.List<$core.int> value) => $40.GetObstaclesRequest.fromBuffer(value),
($40.GetObstaclesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.GetPathsRequest, $40.GetPathsResponse>(
'GetPaths',
getPaths_Pre,
false,
false,
($core.List<$core.int> value) => $40.GetPathsRequest.fromBuffer(value),
($40.GetPathsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.GetPropertiesRequest, $40.GetPropertiesResponse>(
'GetProperties',
getProperties_Pre,
false,
false,
($core.List<$core.int> value) => $40.GetPropertiesRequest.fromBuffer(value),
($40.GetPropertiesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$16.DoCommandRequest, $16.DoCommandResponse>(
'DoCommand',
doCommand_Pre,
false,
false,
($core.List<$core.int> value) => $16.DoCommandRequest.fromBuffer(value),
($16.DoCommandResponse value) => value.writeToBuffer()));
}