|
| WSConnection (TCPServer &server, SOCKET connectionSocket, const sockaddr_in *connectionAddress, WSServices &services, LogEngine &logEngine, const Options &options) |
|
| ~WSConnection () override=default |
|
void | run () override |
|
| ServerConnection (TCPServer &server, SOCKET connectionSocket, Type type, const sockaddr_in *connectionAddress, const String &taskName, const ServerConnection::Function &connectionFunction={}) |
|
TCPSocket & | socket () const |
|
TCPServer & | server () const |
|
String | address () const |
|
size_t | serial () const |
|
| Runable (const String &name) |
|
virtual | ~Runable ()=default |
|
void | execute () |
|
virtual void | terminate () |
|
bool | terminated () const |
|
String | name () const |
|
◆ WSConnection()
sptk::WSConnection::WSConnection |
( |
TCPServer & |
server, |
|
|
SOCKET |
connectionSocket, |
|
|
const sockaddr_in * |
connectionAddress, |
|
|
WSServices & |
services, |
|
|
LogEngine & |
logEngine, |
|
|
const Options & |
options |
|
) |
| |
Constructor
- Parameters
-
server | Server object |
connectionSocket | Incoming connection socket |
service | Web service object |
logEngine | Logger engine |
options | Connection options |
◆ ~WSConnection()
sptk::WSConnection::~WSConnection |
( |
| ) |
|
|
overridedefault |
◆ run()
void sptk::WSConnection::run |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: