#include <serversocket.h>
Signals | |
void | disconnected () |
void | error (QTcpSocket::SocketError socketError) |
void | read (const QString &cmd) |
Public Member Functions | |
QHostAddress | peerAddress () const |
void | SendCancel () |
void | SendData (const void *data, int len) |
void | SendEnd () |
void | SendEpdOff () |
void | SendEpdOn () |
void | SendKeyPressed (int val) |
void | SendStart () |
ServerSocket (int socketDescriptor, QObject *parent=0) | |
Private Slots | |
void | clientDisconnected () |
void | readyRead () |
Private Member Functions | |
void | _Send (const QString &str) |
void | _Send (const void *data, int len) |
Private Attributes | |
bool | m_bSendingData |
QTcpSocket | socket |
Definition at line 8 of file serversocket.h.
ServerSocket::ServerSocket | ( | int | socketDescriptor, |
QObject * | parent = 0 |
||
) | [explicit] |
Definition at line 4 of file serversocket.cpp.
void ServerSocket::_Send | ( | const QString & | str | ) | [private] |
Definition at line 95 of file serversocket.cpp.
void ServerSocket::_Send | ( | const void * | data, |
int | len | ||
) | [private] |
Definition at line 100 of file serversocket.cpp.
void ServerSocket::clientDisconnected | ( | ) | [private, slot] |
Definition at line 44 of file serversocket.cpp.
void ServerSocket::disconnected | ( | ) | [signal] |
void ServerSocket::error | ( | QTcpSocket::SocketError | socketError | ) | [signal] |
QHostAddress ServerSocket::peerAddress | ( | ) | const |
Definition at line 18 of file serversocket.cpp.
void ServerSocket::read | ( | const QString & | cmd | ) | [signal] |
void ServerSocket::readyRead | ( | ) | [private, slot] |
Definition at line 23 of file serversocket.cpp.
void ServerSocket::SendCancel | ( | ) |
Definition at line 72 of file serversocket.cpp.
void ServerSocket::SendData | ( | const void * | data, |
int | len | ||
) |
Definition at line 56 of file serversocket.cpp.
void ServerSocket::SendEnd | ( | ) |
Definition at line 64 of file serversocket.cpp.
void ServerSocket::SendEpdOff | ( | ) |
Definition at line 90 of file serversocket.cpp.
void ServerSocket::SendEpdOn | ( | ) |
Definition at line 85 of file serversocket.cpp.
void ServerSocket::SendKeyPressed | ( | int | val | ) |
Definition at line 80 of file serversocket.cpp.
void ServerSocket::SendStart | ( | ) |
Definition at line 50 of file serversocket.cpp.
bool ServerSocket::m_bSendingData [private] |
Definition at line 35 of file serversocket.h.
QTcpSocket ServerSocket::socket [private] |
Definition at line 34 of file serversocket.h.