hyperion.ng
Public Slots | Signals | Public Member Functions | List of all members
ProtoClientConnection Class Reference

The Connection object created by a ProtoServer when a new connection is established. More...

#include <ProtoClientConnection.h>

Inheritance diagram for ProtoClientConnection:

Public Slots

void forceClose ()
 close the socket and call disconnected()
 

Signals

void clientDisconnected ()
 Emits whenever the client disconnected.
 

Public Member Functions

 ProtoClientConnection (QTcpSocket *socket, const int &timeout, QObject *parent)
 Construct the client. More...
 

Detailed Description

The Connection object created by a ProtoServer when a new connection is established.

Constructor & Destructor Documentation

§ ProtoClientConnection()

ProtoClientConnection::ProtoClientConnection ( QTcpSocket *  socket,
const int &  timeout,
QObject *  parent 
)
explicit

Construct the client.

Parameters
socketThe socket
timeoutThe timeout when a client is automatically disconnected and the priority unregistered
parentThe parent

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