RConProtocol Class Reference

An abstract interface for a remote console protocol. More...

#include <rconprotocol.h>

List of all members.

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)
const QHostAddress & address () const
quint16 port () const

Protected Attributes

bool connected
QList< Playerplayers
QUdpSocket socket

Friends

class Server

Detailed Description

An abstract interface for a remote console protocol.


The documentation for this class was generated from the following files: