#include <libmythbase/serverpool.h>
|
| MythServer (QObject *parent=nullptr) |
|
| ServerPool (QObject *parent=nullptr) |
|
| ~ServerPool (void) override |
|
bool | listen (QList< QHostAddress > addrs, quint16 port, bool requireall=true, PoolServerType type=kTCPServer) |
|
bool | listen (QStringList addrs, quint16 port, bool requireall=true, PoolServerType type=kTCPServer) |
|
bool | listen (quint16 port, bool requireall=true, PoolServerType type=kTCPServer) |
|
bool | bind (QList< QHostAddress > addrs, quint16 port, bool requireall=true) |
|
bool | bind (QStringList addrs, quint16 port, bool requireall=true) |
|
bool | bind (quint16 port, bool requireall=true) |
|
qint64 | writeDatagram (const char *data, qint64 size, const QHostAddress &addr, quint16 port) |
|
qint64 | writeDatagram (const QByteArray &datagram, const QHostAddress &addr, quint16 port) |
|
bool | isListening (void) const |
|
int | maxPendingConnections (void) const |
|
void | setMaxPendingConnections (int n) |
|
quint16 | serverPort (void) const |
|
QNetworkProxy | proxy (void) |
|
void | setProxy (const QNetworkProxy &proxy) |
|
void | close (void) |
|
int | tryListeningPort (int baseport, int range=1) |
| tryListeningPort More...
|
|
int | tryBindingPort (int baseport, int range=1) |
| tryBindingPort More...
|
|
Definition at line 131 of file serverpool.h.
◆ MythServer()
MythServer::MythServer |
( |
QObject * |
parent = nullptr | ) |
|
|
inlineexplicit |
◆ newConnection
void MythServer::newConnection |
( |
qintptr |
socket | ) |
|
|
signal |
◆ newTcpConnection
void MythServer::newTcpConnection |
( |
qintptr |
socket | ) |
|
|
inlineoverrideprotectedslot |
The documentation for this class was generated from the following file: