BALL
1.4.79
|
#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 () |
Public Member Functions inherited from BALL::TCPServer | |
TCPServer (Size port, bool restart=true) | |
virtual | ~TCPServer () |
virtual void | activate () |
virtual void | startAccepting () |
virtual void | handleConnection () |
virtual void | connectionRequested () |
void | setPort (Size port) |
Size | getPort () const |
Protected Attributes | |
bool | use_async_io_ |
bool | is_running_ |
Protected Attributes inherited from BALL::TCPServer | |
Size | port_ |
bool | restart_ |
TCPIOStream | connected_stream_ |
BALL_ASIO_NAMESPACE::io_service | io_service_ |
BALL_ASIO_NAMESPACE::ip::tcp::acceptor | acceptor_ |
This class provides a simple TCP Server running in its own QThread.
Definition at line 100 of file networking.h.
|
virtual |
|
virtual |
Reimplemented from BALL::TCPServer.
|
virtual |
|
virtual |
bool BALL::TCPServerThread::isRunning | ( | ) |
Returns the state of the server.
|
virtual |
Reimplemented in BALL::VIEW::ServerWidget::BALLViewServer.
|
protected |
Definition at line 118 of file networking.h.
|
protected |
Definition at line 117 of file networking.h.