yimultiscreenserver-sdk-web
Version:
YiMultiScreenServer SDK for Web
24 lines (22 loc) • 607 B
text/typescript
export class MQTTConnectOption {
userName: string;
password: string;
isCleanSession: boolean;
connectionTimeout: number;
keepAliveInterval: number;
willTopic: string;
willMessage: string;
willQoS: number;
isWillRetained: boolean;
constructor() {
this.userName = "";
this.password = "";
this.isCleanSession = true;
this.connectionTimeout = 30;
this.keepAliveInterval = 60;
this.willTopic = "";
this.willMessage = "";
this.willQoS = 2;
this.isWillRetained = false;
}
}