TCPServer

Undocumented in source.

Constructors

this
this(EventLoop loop)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

NewConnection
alias NewConnection = ServerConnection delegate(EventLoop, Socket) nothrow
Undocumented in source.
OnAceptorCreator
alias OnAceptorCreator = void delegate(Acceptor)
Undocumented in source.
STimerWheel
alias STimerWheel = ITimingWheel!YuAlloctor
Undocumented in source.

Functions

bind
void bind(Address addr, OnAceptorCreator ona)
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.
killTimer
void killTimer()
Undocumented in source. Be warned that the author may not have intended to support it.
listen
void listen(int listenBlock)
Undocumented in source. Be warned that the author may not have intended to support it.
newConnect
void newConnect(Socket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
prevWheel
void prevWheel()
Undocumented in source. Be warned that the author may not have intended to support it.
setNewConntionCallBack
void setNewConntionCallBack(NewConnection cback)
Undocumented in source. Be warned that the author may not have intended to support it.
startListen
void startListen(int block)
Undocumented in source. Be warned that the author may not have intended to support it.
startTimer
void startTimer(uint s)
Undocumented in source. Be warned that the author may not have intended to support it.
stopTimer
void stopTimer()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

acceptor
acceptor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bindAddress
bindAddress [@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.
timeWheel
timeWheel [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
timeout
timeout [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta