Acceptor

Undocumented in source.

Constructors

this
this(EventLoop loop, bool isIpV6)
Undocumented in source.
this
this(EventLoop loop, AddressFamily family)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bind
void bind(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
doAccept
bool doAccept()
Undocumented in source. Be warned that the author may not have intended to support it.
listen
void listen(int backlog)
Undocumented in source. Be warned that the author may not have intended to support it.
onClose
void onClose()
Undocumented in source. Be warned that the author may not have intended to support it.
onRead
void onRead()
Undocumented in source. Be warned that the author may not have intended to support it.
onWrite
void onWrite()
Undocumented in source. Be warned that the author may not have intended to support it.
setCallBack
void setCallBack(AcceptCallBack cback)
Undocumented in source. Be warned that the author may not have intended to support it.
start
bool start()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin TransportSocketOption
Undocumented in source.

Properties

fd
int fd [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isAlive
bool isAlive [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
localAddress
localAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
reusePort
bool reusePort [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Mixed In Members

From mixin TransportSocketOption

getOption
int getOption(SocketOptionLevel level, SocketOption option, void[] result)

Get a socket option.

getOption
int getOption(SocketOptionLevel level, SocketOption option, int32_t result)

Common case of getting integer and boolean options.

getOption
int getOption(SocketOptionLevel level, SocketOption option, Linger result)

Get the linger option.

getOption
void getOption(SocketOptionLevel level, SocketOption option, Duration result)

Get a timeout (duration) option.

setOption
void setOption(SocketOptionLevel level, SocketOption option, void[] value)

Set a socket option.

setOption
void setOption(SocketOptionLevel level, SocketOption option, int32_t value)

Common case for setting integer and boolean options.

setOption
void setOption(SocketOptionLevel level, SocketOption option, Linger value)

Set the linger option.

setOption
void setOption(SocketOptionLevel level, SocketOption option, Duration value)
Undocumented in source. Be warned that the author may not have intended to support it.
remoteAddress
Address remoteAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
localAddress
Address localAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
createAddress
Address createAddress()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From AsyncTransport

close
void close()
Undocumented in source.
start
bool start()
Undocumented in source.
isAlive
bool isAlive [@property getter]
Undocumented in source.
fd
int fd [@property getter]
Undocumented in source.
transportType
transportType [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
eventLoop
eventLoop [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
_loop
EventLoop _loop;
Undocumented in source.
_type
TransportType _type;
Undocumented in source.

Meta