BALL::TCPServerThread Class Reference

#include <BALL/SYSTEM/networking.h>

Inheritance diagram for BALL::TCPServerThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TCPServerThread (Size port, bool asynchronous=true, bool restart=true)
virtual void run ()
virtual void deactivate ()
virtual void activate_async ()
virtual void handleAsyncConnection ()
virtual void handleClose ()
bool isRunning ()

Protected Attributes

bool use_async_io_
bool is_running_

Detailed Description

This class provides a simple TCP Server running in its own QThread.

Definition at line 100 of file networking.h.


Constructor & Destructor Documentation

BALL::TCPServerThread::TCPServerThread ( Size  port,
bool  asynchronous = true,
bool  restart = true 
)

Member Function Documentation

virtual void BALL::TCPServerThread::activate_async (  )  [virtual]
virtual void BALL::TCPServerThread::deactivate (  )  [virtual]

Reimplemented from BALL::TCPServer.

virtual void BALL::TCPServerThread::handleAsyncConnection (  )  [virtual]
virtual void BALL::TCPServerThread::handleClose (  )  [virtual]
bool BALL::TCPServerThread::isRunning (  ) 

Returns the state of the server.

virtual void BALL::TCPServerThread::run (  )  [virtual]

Member Data Documentation

Definition at line 118 of file networking.h.

Definition at line 117 of file networking.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3