import { BaseMessage } from "./BaseMessage";
class Subscribe extends BaseMessage {
    constructor(params = {}) {
        super();
        this.method = 'Uas.Subscribe';
        this.buildRequest({ method: this.method, params });
    }
}
class Unsubscribe extends BaseMessage {
    constructor(params = {}) {
        super();
        this.method = 'Uas.Unsubscribe';
        this.buildRequest({ method: this.method, params });
    }
}
class Broadcast extends BaseMessage {
    constructor(params = {}) {
        super();
        this.method = 'Uas.Broadcast';
        this.buildRequest({ method: this.method, params });
    }
}
class Reauthenticate extends BaseMessage {
    constructor(token, sessionid) {
        super();
        this.method = 'Uas.Reauthenticate';
        const params = { token, sessionid };
        this.buildRequest({ method: this.method, params });
    }
}
class Ping extends BaseMessage {
    constructor() {
        super();
        this.method = 'Uas.Ping';
        const params = {};
        this.buildRequest({ method: this.method, params });
    }
}
class Connect extends BaseMessage {
    constructor(token, sessionid) {
        super();
        this.method = 'Uas.Connect';
        const params = {
            'token': token,
            'sessionid': sessionid,
        };
        this.buildRequest({ method: this.method, params });
    }
}
export { Reauthenticate, Ping, Connect, Subscribe, Unsubscribe, Broadcast, };
