GatewayManagerServiceBase constructor
GatewayManagerServiceBase()
Implementation
GatewayManagerServiceBase() {
$addMethod($grpc.ServiceMethod<$5.GatewayInfo, $1.OperationResponse>(
'AddGateway',
addGateway_Pre,
false,
false,
($core.List<$core.int> value) => $5.GatewayInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GatewayInfo, $1.OperationResponse>(
'DelGateway',
delGateway_Pre,
false,
false,
($core.List<$core.int> value) => $5.GatewayInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GatewayInfo, $1.OperationResponse>(
'UpdateGateway',
updateGateway_Pre,
false,
false,
($core.List<$core.int> value) => $5.GatewayInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GatewayInfo, $5.GatewayInfo>(
'QueryGateway',
queryGateway_Pre,
false,
false,
($core.List<$core.int> value) => $5.GatewayInfo.fromBuffer(value),
($5.GatewayInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $5.GatewayInfoList>(
'GetAllGateway',
getAllGateway_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($5.GatewayInfoList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.GatewayInfo, $1.OperationResponse>(
'UpdateGatewayNameAndDescription',
updateGatewayNameAndDescription_Pre,
false,
false,
($core.List<$core.int> value) => $5.GatewayInfo.fromBuffer(value),
($1.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $5.GatewayInfo>(
'GenerateOneGatewayWithDefaultServer',
generateOneGatewayWithDefaultServer_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($5.GatewayInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $5.GatewayInfo>(
'GenerateOneGatewayWithServerUuid',
generateOneGatewayWithServerUuid_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($5.GatewayInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $2.StringValue>(
'GetGatewayJwtByGatewayUuid',
getGatewayJwtByGatewayUuid_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($2.StringValue value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.StringValue, $2.StringValue>(
'GetOpenIoTHubJwtByGatewayUuid',
getOpenIoTHubJwtByGatewayUuid_Pre,
false,
false,
($core.List<$core.int> value) => $2.StringValue.fromBuffer(value),
($2.StringValue value) => value.writeToBuffer()));
}