sources/network/rconsession.h

branch
protocol5
changeset 160
cf514fa0f1cc
parent 159
970d58a01e8b
child 167
0150f86e68f0
equal deleted inserted replaced
159:970d58a01e8b 160:cf514fa0f1cc
111 RCONSessionState getState() const; 111 RCONSessionState getState() const;
112 void handlePacket(Datagram& datagram); 112 void handlePacket(Datagram& datagram);
113 bool isActive() const; 113 bool isActive() const;
114 void processServerUpdates(Bytestream& packet); 114 void processServerUpdates(Bytestream& packet);
115 void requestTabCompletion(const String& part); 115 void requestTabCompletion(const String& part);
116 void requestWatch (const String& cvar);
117 void requestWatch (const StringList& cvars);
116 void send(const ByteArray& packet); 118 void send(const ByteArray& packet);
117 bool sendCommand(const String& commandString); 119 bool sendCommand(const String& commandString);
118 void sendHello(); 120 void sendHello();
119 void sendPassword(); 121 void sendPassword();
120 void setInterface(class Interface* interface); 122 void setInterface(class Interface* interface);
121 void setPassword(const String& password); 123 void setPassword(const String& password);
122 void tick(); 124 void tick();
123 void request_watch (const String& cvar);
124 void request_watch (const StringList& cvars);
125 125
126 private: 126 private:
127 RCONSessionState m_state; 127 RCONSessionState m_state;
128 IPAddress m_address; 128 IPAddress m_address;
129 UDPSocket m_socket; 129 UDPSocket m_socket;

mercurial