The AutoQTcpServer class This is a level #1 layer class.. It does all the connections to all the nodes contained within the segment.
More...
#include <autoqtcpserver.h>
The AutoQTcpServer class This is a level #1 layer class.. It does all the connections to all the nodes contained within the segment.
◆ ~AutoQTcpServer()
ADI::AutoQTcpServer::~AutoQTcpServer |
( |
| ) |
|
|
virtual |
Destructor.
Stop accepting new connection
Stop the server for Daemon case Client only no need otherwise crash
◆ StartDaemon()
void ADI::AutoQTcpServer::StartDaemon |
( |
QString |
interface, |
|
|
QString |
netmask, |
|
|
int |
servicePort, |
|
|
bool |
doDaemon = true , |
|
|
bool |
doClient = true |
|
) |
| |
start the daemon process
Found out self IP address, maybe contain multi address
Allow to connect self if do Client only
◆ WriteAsClient
void ADI::AutoQTcpServer::WriteAsClient |
( |
QString |
Key, |
|
|
QVariantList & |
vl |
|
) |
| |
|
slot |
WriteAsClient.
- Parameters
-
◆ WriteAsDaemon
void ADI::AutoQTcpServer::WriteAsDaemon |
( |
QString |
Key, |
|
|
QVariantList & |
vl |
|
) |
| |
|
slot |
WriteAsDaemon.
- Parameters
-
The documentation for this class was generated from the following files:
- /home/ed/Software/multiverse/stec-platform/libs/platformlib/autoqtcpserver.h
- /home/ed/Software/multiverse/stec-platform/libs/platformlib/autoqtcpserver.cpp