ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
VP1TcpServer::Imp Class Reference
Collaboration diagram for VP1TcpServer::Imp:

Public Member Functions

QTcpSocket * recognisedSocket (QObject *) const
 

Public Attributes

VP1TcpServertcpserv
 
quint16 port
 
QTcpServer tcpserver
 
QMap< QTcpSocket *, quint16 > sockets2blocksize
 
int lastemit_listen
 

Detailed Description

Definition at line 24 of file VP1TcpServer.cxx.

Member Function Documentation

◆ recognisedSocket()

QTcpSocket * VP1TcpServer::Imp::recognisedSocket ( QObject *  o) const

Definition at line 187 of file VP1TcpServer.cxx.

188 {
189  QTcpSocket * socket = static_cast<QTcpSocket *>(o);
190  if (!socket)
191  return 0;
192  return sockets2blocksize.contains(socket) ? socket : 0;
193 }

Member Data Documentation

◆ lastemit_listen

int VP1TcpServer::Imp::lastemit_listen

Definition at line 31 of file VP1TcpServer.cxx.

◆ port

quint16 VP1TcpServer::Imp::port

Definition at line 27 of file VP1TcpServer.cxx.

◆ sockets2blocksize

QMap<QTcpSocket *,quint16> VP1TcpServer::Imp::sockets2blocksize

Definition at line 29 of file VP1TcpServer.cxx.

◆ tcpserv

VP1TcpServer* VP1TcpServer::Imp::tcpserv

Definition at line 26 of file VP1TcpServer.cxx.

◆ tcpserver

QTcpServer VP1TcpServer::Imp::tcpserver

Definition at line 28 of file VP1TcpServer.cxx.


The documentation for this class was generated from the following file:
VP1TcpServer::Imp::sockets2blocksize
QMap< QTcpSocket *, quint16 > sockets2blocksize
Definition: VP1TcpServer.cxx:29