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