getStatus() {
        return {
            state: this.state,
            stats: this.stats
        };
    }
@public
@return {{stats: ({messages: {bytes: {received: number, sent: number}, count: {received: number, sent: number}}, connection: {reconnects: number, connects: number, disconnects: number, errors: number}}), state: string}}