deleteOneSession static method
Implementation
static Future deleteOneSession(SessionConfig config) async {
final channel = await Channel.getOpenIoTHubChannel();
final stub = SessionManagerClient(channel);
await stub.deleteOneSession(config);
channel.shutdown();
//同步删除服务器上的配置
GatewayInfo gatewayInfo = GatewayInfo();
gatewayInfo.gatewayUuid = config.runId;
GatewayManager.DelGateway(gatewayInfo);
}