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 net::UDPSocket* getSocket(); |
104 net::UDPSocket* getSocket(); |
105 RCONSessionState getState() const; |
105 RCONSessionState getState() const; |
106 void handlePacket(ByteArray& message); |
106 void handlePacket(std::vector<unsigned char>& message); |
107 bool isActive() const; |
107 bool isActive() const; |
108 void processServerUpdates(Bytestream& packet); |
108 void processServerUpdates(Bytestream& packet); |
109 void requestTabCompletion(const std::string& part); |
109 void requestTabCompletion(const std::string& part); |
110 bool send(const ByteArray& packet); |
110 bool send(const std::vector<unsigned char>& packet); |
111 bool sendCommand(const std::string& commandString); |
111 bool sendCommand(const std::string& commandString); |
112 void sendHello(); |
112 void sendHello(); |
113 void sendPassword(); |
113 void sendPassword(); |
114 void setInterface(class Interface* interface); |
114 void setInterface(class Interface* interface); |
115 void setPassword(const std::string& password); |
115 void setPassword(const std::string& password); |