Class ConnectionWatcher
Connection watcher.
Constructors
Name | Description |
---|---|
this
(socket)
|
Fields
Name | Type | Description |
---|---|---|
incoming
|
DList!(tanya.async.transport.DuplexTransport) | Incoming connection queue. |
active
|
bool | Whether the watcher is active. |
socket_
|
Socket | Watched socket. |
Properties
Name | Type | Description |
---|---|---|
socket [get]
|
Socket |
Methods
Name | Description |
---|---|
invoke
()
|
Invokes new connection callback. |
setProtocol
()
|