yu ~master (2017-08-14T10:07:44Z)
Dub
Repo
TLinkInfo
yu
asyncsocket
client
linkinfo
Undocumented in source.
struct
TLinkInfo (
TCallBack
Manger
=
void
)
if
(
is
(
TCallBack
==
delegate
) &&
(
(
is
(
Manger
== class) &&
hasMember
!(
Manger
, "connectCallBack")
)
||
is
(
Manger
==
void
)
)
) {
TCPClient
client
;
Address
addr
;
uint
tryCount
;
TCallBack
cback
;
static if
(
!is(Manger == void)
)
Manger
manger
;
static if
(
!is(Manger == void)
)
void
connectCallBack
(bool state);
}
Members
Functions
connectCallBack
void
connectCallBack
(bool state)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
addr
Address
addr
;
Undocumented in source.
cback
TCallBack
cback
;
Undocumented in source.
client
TCPClient
client
;
Undocumented in source.
manger
Manger
manger
;
Undocumented in source.
tryCount
uint
tryCount
;
Undocumented in source.
Meta
Source
See Implementation
yu
asyncsocket
client
linkinfo
structs
TLinkInfo
TLinkManger