Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RemoteControlServerInfo Class Reference

#include <remotecontrol.h>

Collaboration diagram for RemoteControlServerInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RemoteControlServerInfo (QMtp *, int port, QTextBrowser *log, const QString &pass=QString::null)
 ~RemoteControlServerInfo ()

Private Types

typedef QMap< ChatSession *,
QValueList< RemoteControlClientSocket * > > 
SyncMap

Private Slots

void newConnect (RemoteControlClientSocket *s)
void connectionClosed ()
void processText (const QString &txt)
void auth (const QString &)
void display (const QString &)
void listCommand (RemoteControlClientSocket *, const QString &)
void commandsCommand (RemoteControlClientSocket *, const QString &)
void exitCommand (RemoteControlClientSocket *, const QString &)
void sendCommand (RemoteControlClientSocket *, const QString &)
void synchroCommand (RemoteControlClientSocket *, const QString &)
void desynchroCommand (RemoteControlClientSocket *, const QString &)
void connectCommand (RemoteControlClientSocket *, const QString &)
void disconnectCommand (RemoteControlClientSocket *, const QString &)
void unknownCommand (RemoteControlClientSocket *, const QString &)

Private Attributes

Q_OBJECT typedef QMap< QString,
void(RemoteControlServerInfo::*)(RemoteControlClientSocket *,
const QString &)> 
CommandMap
QTextBrowser * infoText
QMap< int, RemoteControlClientSocket * > map
SyncMap sync_map
CommandMap commands
QString remote_pass
QMtpm_mtp

Member Typedef Documentation

typedef QMap<ChatSession*,QValueList<RemoteControlClientSocket*> > RemoteControlServerInfo::SyncMap [private]
 

Definition at line 81 of file remotecontrol.h.


Constructor & Destructor Documentation

RemoteControlServerInfo::RemoteControlServerInfo QMtp ,
int  port,
QTextBrowser *  log,
const QString &  pass = QString::null
 

Definition at line 60 of file remotecontrol.cpp.

References commands, commandsCommand(), connectCommand(), desynchroCommand(), disconnectCommand(), exitCommand(), infoText, listCommand(), m_mtp, newConnect(), remote_pass, sendCommand(), and synchroCommand().

RemoteControlServerInfo::~RemoteControlServerInfo  ) 
 

Definition at line 80 of file remotecontrol.cpp.


Member Function Documentation

void RemoteControlServerInfo::auth const QString &   )  [private, slot]
 

Definition at line 104 of file remotecontrol.cpp.

References infoText, processText(), and remote_pass.

Referenced by newConnect().

void RemoteControlServerInfo::commandsCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 173 of file remotecontrol.cpp.

References commands.

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::connectCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 255 of file remotecontrol.cpp.

References QMtp::launchSession(), QMtp::m_document, m_mtp, and DomUtil::readListEntry().

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::connectionClosed  )  [private, slot]
 

Definition at line 125 of file remotecontrol.cpp.

References infoText, and map.

Referenced by newConnect().

void RemoteControlServerInfo::desynchroCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 230 of file remotecontrol.cpp.

References display(), m_mtp, QMtp::sessions, and sync_map.

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::disconnectCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 275 of file remotecontrol.cpp.

References QMtp::closeTab(), m_mtp, and QMtp::sessions.

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::display const QString &   )  [private, slot]
 

Definition at line 116 of file remotecontrol.cpp.

References ChatSession::sessionName(), and sync_map.

Referenced by desynchroCommand(), and synchroCommand().

void RemoteControlServerInfo::exitCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 169 of file remotecontrol.cpp.

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::listCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 146 of file remotecontrol.cpp.

References QMtp::m_document, m_mtp, DomUtil::readListEntry(), and QMtp::sessions.

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::newConnect RemoteControlClientSocket s  )  [private, slot]
 

Definition at line 82 of file remotecontrol.cpp.

References auth(), CLIENT, connectionClosed(), infoText, map, processText(), and remote_pass.

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::processText const QString &  txt  )  [private, slot]
 

Definition at line 130 of file remotecontrol.cpp.

References commands, and unknownCommand().

Referenced by auth(), and newConnect().

void RemoteControlServerInfo::sendCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 179 of file remotecontrol.cpp.

References m_mtp, and QMtp::sessions.

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::synchroCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 200 of file remotecontrol.cpp.

References display(), m_mtp, QMtp::sessions, and sync_map.

Referenced by RemoteControlServerInfo().

void RemoteControlServerInfo::unknownCommand RemoteControlClientSocket ,
const QString & 
[private, slot]
 

Definition at line 295 of file remotecontrol.cpp.

Referenced by processText().


Member Data Documentation

Q_OBJECT typedef QMap<QString, void(RemoteControlServerInfo::*)(RemoteControlClientSocket*,const QString&)> RemoteControlServerInfo::CommandMap [private]
 

Definition at line 80 of file remotecontrol.h.

CommandMap RemoteControlServerInfo::commands [private]
 

Definition at line 108 of file remotecontrol.h.

Referenced by commandsCommand(), processText(), and RemoteControlServerInfo().

QTextBrowser* RemoteControlServerInfo::infoText [private]
 

Definition at line 105 of file remotecontrol.h.

Referenced by auth(), connectionClosed(), newConnect(), and RemoteControlServerInfo().

QMtp* RemoteControlServerInfo::m_mtp [private]
 

Definition at line 111 of file remotecontrol.h.

Referenced by connectCommand(), desynchroCommand(), disconnectCommand(), listCommand(), RemoteControlServerInfo(), sendCommand(), and synchroCommand().

QMap<int,RemoteControlClientSocket*> RemoteControlServerInfo::map [private]
 

Definition at line 106 of file remotecontrol.h.

Referenced by connectionClosed(), and newConnect().

QString RemoteControlServerInfo::remote_pass [private]
 

Definition at line 110 of file remotecontrol.h.

Referenced by auth(), newConnect(), and RemoteControlServerInfo().

SyncMap RemoteControlServerInfo::sync_map [private]
 

Definition at line 107 of file remotecontrol.h.

Referenced by desynchroCommand(), display(), and synchroCommand().


The documentation for this class was generated from the following files:
Generated on Sat May 10 15:10:04 2003 for qnet by doxygen1.3