EventLoopImpl

Undocumented in source.
version(Windows)
package
struct EventLoopImpl {}

Destructor

~this
~this()
Undocumented in source.

Members

Functions

bind
bool bind(AsyncSocket ctxt, sockaddr* addr, socklen_t addrlen)
Undocumented in source. Be warned that the author may not have intended to support it.
broadcast
bool broadcast(fd_t fd, bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
closeConnection
bool closeConnection(fd_t fd)
Undocumented in source. Be warned that the author may not have intended to support it.
closeSocket
bool closeSocket(fd_t fd, bool connected, bool forced)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
bool connect(AsyncSocket ctxt, sockaddr* addr, socklen_t addrlen)
Undocumented in source. Be warned that the author may not have intended to support it.
exit
void exit()
Undocumented in source. Be warned that the author may not have intended to support it.
getAddressFromDNS
NetworkAddress getAddressFromDNS(string host, ushort port, bool ipv6, bool tcp, bool force)
Undocumented in source. Be warned that the author may not have intended to support it.
getAddressFromIP
NetworkAddress getAddressFromIP(string ipAddr, ushort port, bool ipv6, bool tcp)
Undocumented in source. Be warned that the author may not have intended to support it.
init
bool init(EventLoop evl)
Undocumented in source.
kill
bool kill(AsyncDirectoryWatcher ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
bool kill(AsyncTCPConnection ctxt, bool forced)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
bool kill(AsyncTCPListener ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
bool kill(AsyncSignal ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
bool kill(AsyncNotifier ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
bool kill(AsyncTimer ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
bool kill(AsyncEvent ctxt, bool forced)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
bool kill(AsyncUDPSocket ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
kill
bool kill(AsyncSocket ctxt, bool forced)
Undocumented in source. Be warned that the author may not have intended to support it.
listen
bool listen(AsyncSocket ctxt, int backlog)
Undocumented in source. Be warned that the author may not have intended to support it.
localAddr
NetworkAddress localAddr(fd_t fd, bool ipv6)
Undocumented in source. Be warned that the author may not have intended to support it.
loop
bool loop(Duration timeout)
Undocumented in source.
noDelay
void noDelay(fd_t fd, bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
notify
bool notify(fd_t fd, T payload)
Undocumented in source. Be warned that the author may not have intended to support it.
onAccept
bool onAccept(fd_t listener, AsyncAcceptRequest* request, sockaddr* remoteAddress)
Undocumented in source. Be warned that the author may not have intended to support it.
read
uint read(fd_t fd, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
readChanges
uint readChanges(fd_t fd, DWChangeInfo[] dst)
Undocumented in source. Be warned that the author may not have intended to support it.
recv
uint recv(fd_t fd, void[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
recvFrom
uint recvFrom(fd_t fd, void[] data, NetworkAddress addr)
Undocumented in source. Be warned that the author may not have intended to support it.
run
bool run(AsyncEvent ctxt, EventHandler del)
Undocumented in source. Be warned that the author may not have intended to support it.
run
fd_t run(AsyncTCPListener ctxt, TCPAcceptHandler del)
Undocumented in source. Be warned that the author may not have intended to support it.
run
fd_t run(AsyncTCPConnection ctxt, TCPEventHandler del)
Undocumented in source.
run
fd_t run(AsyncUDPSocket ctxt, UDPHandler del)
Undocumented in source. Be warned that the author may not have intended to support it.
run
fd_t run(AsyncSignal ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
run
fd_t run(AsyncNotifier ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
run
fd_t run(AsyncTimer ctxt, TimerHandler del, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
run
fd_t run(AsyncDirectoryWatcher ctxt, DWHandler del)
Undocumented in source. Be warned that the author may not have intended to support it.
run
fd_t run(AsyncSocket ctxt)
Undocumented in source. Be warned that the author may not have intended to support it.
send
uint send(fd_t fd, void[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
sendTo
uint sendTo(fd_t fd, void[] data, NetworkAddress addr)
Undocumented in source. Be warned that the author may not have intended to support it.
setInternalError
void setInternalError(Status s, string details, error_t error)
Undocumented in source. Be warned that the author may not have intended to support it.
setOption
bool setOption(fd_t fd, TCPOption option, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
submitRequest
void submitRequest(AsyncAcceptRequest* request)
Undocumented in source. Be warned that the author may not have intended to support it.
submitRequest
void submitRequest(AsyncReceiveRequest* request)
Undocumented in source. Be warned that the author may not have intended to support it.
submitRequest
void submitRequest(AsyncSendRequest* request)
Undocumented in source. Be warned that the author may not have intended to support it.
unwatch
bool unwatch(fd_t fd, fd_t _wd)
Undocumented in source. Be warned that the author may not have intended to support it.
updateAcceptContext
auto updateAcceptContext(fd_t listener, fd_t socket)
Undocumented in source. Be warned that the author may not have intended to support it.
updateConnectContext
auto updateConnectContext(fd_t socket)
Undocumented in source. Be warned that the author may not have intended to support it.
watch
uint watch(fd_t fd, WatchInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
write
uint write(fd_t fd, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

error
string error [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
started
bool started [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
status
StatusInfo status [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta