111 bool send_command (const String& message); |
111 bool send_command (const String& message); |
112 RCONSessionState state() const; |
112 RCONSessionState state() const; |
113 const String& level() const; |
113 const String& level() const; |
114 bool is_active() const; |
114 bool is_active() const; |
115 void request_tab_complete (const String& part); |
115 void request_tab_complete (const String& part); |
|
116 void set_interface (class Interface* iface); |
116 |
117 |
117 private: |
118 private: |
118 RCONSession(); |
|
119 |
|
120 RCONSessionState m_state; |
119 RCONSessionState m_state; |
121 IPAddress m_address; |
120 IPAddress m_address; |
122 UDPSocket m_socket; |
121 UDPSocket m_socket; |
123 time_t m_lastPing; |
122 time_t m_lastPing; |
124 String m_password; |
123 String m_password; |