SourceForge Logo
P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor

H. de Fraysseix      P. Ossona de Mendez

ClientSocket Class Reference

Collaboration diagram for ClientSocket:

Collaboration graph
[legend]

List of all members.


Detailed Description

ClientSocket is responsible to dialog with a client connected through a tcp socket, and execute the commands received.
This class derives from QOBJECT.

Public Member Functions

Public Attributes

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

ClientSocket ( pigaleWindow mw,
QTcpSocket *  socket 
)

ClientSocket (non thread).

~ClientSocket (  ) 


Member Function Documentation

void executeAction (  ) 

void customEvent ( QEvent *  e  ) 

void writeClientEvent ( QString  str  ) 

void writeClientEvent ( char *  buf,
uint  size 
)

void Png (  ) 

void Ps (  ) 

void serverReady (  ) 

void socketError ( QAbstractSocket::SocketError  e  )  [private, slot]

void writeClient ( char *  buf,
uint  size 
) [private]

void writeClient ( QString  str  )  [private]

QString readLine (  )  [private]

void xhandler ( const QString &  data  )  [private]

void sendServerId (  )  [private]

void sendSaveGraph ( const QString &  FileName  )  [private]

int readServerGraph ( QString &  dataParam  )  [private]

void readClientGraph ( int  indexRemoteGraph  )  [private]

void handlerInfo ( int  action  )  [private]

void handlerInput ( int  action,
const QString &  data 
) [private]

uint readBuffer ( char *&  buff  )  [private]


Member Data Documentation

QTcpSocket* socket

pigaleWindow* mw [private]

QEvent* ev0 [private]

int socketDescriptor [private]

PigaleServer* server [private]

QDataStream clo [private]

QReadWriteLock lock [private]

int sdebug [private]

int line [private]


Generated on Thu Jan 31 16:51:41 2008 for Pigale by  doxygen 1.5.4