MqttDeviceManagerServiceBase constructor
MqttDeviceManagerServiceBase()
Implementation
MqttDeviceManagerServiceBase() {
$addMethod($grpc.ServiceMethod<$5.MqttDeviceInfo, $0.OperationResponse>(
'AddMqttDevice',
addMqttDevice_Pre,
false,
false,
($core.List<$core.int> value) => $5.MqttDeviceInfo.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.MqttDeviceInfo, $0.OperationResponse>(
'DelMqttDevice',
delMqttDevice_Pre,
false,
false,
($core.List<$core.int> value) => $5.MqttDeviceInfo.fromBuffer(value),
($0.OperationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $5.MqttDeviceInfoList>(
'GetAllMqttDevice',
getAllMqttDevice_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($5.MqttDeviceInfoList value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$5.MqttDeviceInfo, $5.MqttInfo>(
'GenerateMqttUsernamePassword',
generateMqttUsernamePassword_Pre,
false,
false,
($core.List<$core.int> value) => $5.MqttDeviceInfo.fromBuffer(value),
($5.MqttInfo value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.Empty, $5.MqttBrokerList>(
'GetAllMqttBrokers',
getAllMqttBrokers_Pre,
false,
false,
($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
($5.MqttBrokerList value) => value.writeToBuffer()));
}