Iocp

Undocumented in source.

Constructors

this
this(TcpListener listener, OnConnected onConnected, OnDisConnected onDisConnected, OnReceive onReceive, OnSendCompleted onSendCompleted, OnSocketError onSocketError, Codec codec, int workerThreadNum)
Undocumented in source.

Members

Functions

iocp_receive
void iocp_receive(int fd)
Undocumented in source. Be warned that the author may not have intended to support it.
iocp_send
void iocp_send(int fd, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
register
bool register(int fd, EventType et)
Undocumented in source. Be warned that the author may not have intended to support it.
reregister
bool reregister(int fd, EventType et)
Undocumented in source. Be warned that the author may not have intended to support it.
unregister
bool unregister(int fd)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

handleEvent
void handleEvent(Selector selector)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Selector

~this
~this()
Undocumented in source.
register
bool register(int fd, EventType et)
Undocumented in source.
reregister
bool reregister(int fd, EventType et)
Undocumented in source.
unregister
bool unregister(int fd)
Undocumented in source.
startLoop
void startLoop()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
removeClient
void removeClient(int fd, int err)
Undocumented in source. Be warned that the author may not have intended to support it.
iocp_send
void iocp_send(int fd, ubyte[] data)
Undocumented in source.
iocp_receive
void iocp_receive(int fd)
Undocumented in source.
codec
Codec codec [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
accept
void accept()
Undocumented in source. Be warned that the author may not have intended to support it.
beginAccept
void beginAccept(Selector selector)
Undocumented in source. Be warned that the author may not have intended to support it.
read
void read(int fd, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
read
void read(int fd)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(int fd)
Undocumented in source. Be warned that the author may not have intended to support it.
_isDisposed
bool _isDisposed;
Undocumented in source.
_listener
TcpListener _listener;
Undocumented in source.
_runing
bool _runing;
Undocumented in source.
_workerThreadNum
int _workerThreadNum;
Undocumented in source.
_eventHandle
HANDLE _eventHandle;
Undocumented in source.
handleEvent
void handleEvent(Selector selector)
Undocumented in source. Be warned that the author may not have intended to support it.
_eventHandle
int _eventHandle;
Undocumented in source.
handleEvent
void handleEvent()
Undocumented in source.
workerPool
ThreadPool workerPool;
Undocumented in source.
onReceive
OnReceive onReceive;
Undocumented in source.
onSendCompleted
OnSendCompleted onSendCompleted;
Undocumented in source.

Meta