Introduce Tairon::Net::SocketNotifier class.
commita23ed01056cdf3b255bdb339d359c56e061864d2
authorDavid Brodsky <trekie@sinister.cz>
Mon, 7 Aug 2006 08:51:30 +0000 (7 10:51 +0200)
committerDavid Brodsky <trekie@sinister.cz>
Mon, 7 Aug 2006 08:51:30 +0000 (7 10:51 +0200)
tree11ac793b8f6d1209e8e7e61773e56976a47357f9
parentec3886d7c30f0ba5eb10279725d5da1d0a2ddcd4
Introduce Tairon::Net::SocketNotifier class.

SocketNotifier is a replacement for the old system of registering sockets for
polling. It is no more needed to lookup functors for specific descriptors
because SocketNotifier carries all those informations with it. This also should
increase speed becasue lesser amount of code is executed.
12 files changed:
include/tairon/net/Jamfile
include/tairon/net/socketnotifier.h [new symlink]
src/net-core/Jamfile
src/net-core/poll.cpp
src/net-core/poll.h
src/net-core/socket.cpp
src/net-core/socket.h
src/net-core/socketnotifier.cpp [new file with mode: 0644]
src/net-core/socketnotifier.h [new file with mode: 0644]
src/net-http/httpclient.cpp
src/net-server/server.cpp
src/net-server/server.h