slaveInteractionCenter.dart 623 B

12345678910111213141516171819202122232425262728
  1. import 'dart:core';
  2. import 'package:fis_jsonrpc/client_base.dart';
  3. import 'masterInteractionCenter.m.dart';
  4. class SlaveInteractionCenterService extends JsonRpcClientBase {
  5. SlaveInteractionCenterService(
  6. String host, {
  7. String serviceName = "ISlaveInteractionCenterService",
  8. Map<String, String>? headers,
  9. int? timeout,
  10. }) : super(
  11. host,
  12. serviceName,
  13. headers: headers,
  14. timeout: timeout,
  15. );
  16. Future<bool> syncReceiveMasterServiceDataAsync(SyncReceiveServiceDataRequest request) async {
  17. var rpcRst = await call("SyncReceiveMasterServiceDataAsync", request);
  18. return rpcRst;
  19. }
  20. }