An abstract interface for a remote console protocol. More...
#include <rconprotocol.h>
Public Slots | |
| virtual void | disconnectFromServer ()=0 |
| virtual void | sendCommand (const QString &cmd)=0 |
| virtual void | sendPassword (const QString &password)=0 |
Signals | |
| void | disconnected () |
| void | invalidPassword () |
| void | messageReceived (const QString &cmd) |
| void | playerListUpdated () |
| void | serverNameChanged (const QString &name) |
Public Member Functions | |
| bool | isConnected () const |
| const QList< Player > & | playerList () const |
Protected Slots | |
| virtual void | packetReady ()=0 |
Protected Member Functions | |
| RConProtocol (Server *server) | |
Protected Attributes | |
| bool | connected |
| QList< Player > | players |
| Server * | server |
| QUdpSocket | socket |
Friends | |
| class | Server |
An abstract interface for a remote console protocol.