Class AsyncClientConnection
Asynchrous socket which uses separate thread for operation
Constructors
| Name | Description |
|---|---|
this
(cb)
|
Fields
| Name | Type | Description |
|---|---|---|
_callback
|
AsyncSocketCallback | |
_errorSet
|
std | |
_queue
|
BlockingQueue!(voiddelegate()) | |
_readSet
|
std | |
_sock
|
std | |
_state
|
SocketState | |
_writeSet
|
std |
Properties
| Name | Type | Description |
|---|---|---|
state[get]
|
SocketState |
Methods
| Name | Description |
|---|---|
connect
(host, port)
|
|
disconnect
()
|
|
send
(data)
|
|
doDisconnect
()
|
|
threadProc
()
|
Aliases
| Name | Description |
|---|---|
~this
|