93 { |
93 { |
94 public: |
94 public: |
95 RCONSession(); |
95 RCONSession(); |
96 ~RCONSession(); |
96 ~RCONSession(); |
97 |
97 |
98 const IPAddress& address() const; |
98 const net::ip_address& address() const; |
99 void bumpLastPing(); |
99 void bumpLastPing(); |
100 void connect(IPAddress address); |
100 void connect(net::ip_address address); |
101 void disconnect(); |
101 void disconnect(); |
102 int getAdminCount() const; |
102 int getAdminCount() const; |
103 const std::string& getLevel() const; |
103 const std::string& getLevel() const; |
104 UDPSocket* getSocket(); |
104 UDPSocket* getSocket(); |
105 RCONSessionState getState() const; |
105 RCONSessionState getState() const; |