BALL
1.4.1
|
#include <BALL/SYSTEM/networking.h>
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_ |
This class provides a simple TCP Server running in its own QThread.
Definition at line 100 of file networking.h.
BALL::TCPServerThread::TCPServerThread | ( | Size | port, |
bool | asynchronous = true , |
||
bool | restart = true |
||
) |
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] |
Returns the state of the server.
virtual void BALL::TCPServerThread::run | ( | ) | [virtual] |
Reimplemented in BALL::VIEW::ServerWidget::BALLViewServer.
bool BALL::TCPServerThread::is_running_ [protected] |
Definition at line 118 of file networking.h.
bool BALL::TCPServerThread::use_async_io_ [protected] |
Definition at line 117 of file networking.h.