23 #ifndef CPN_CONNECTIONSERVER_H
24 #define CPN_CONNECTIONSERVER_H
26 #include "common_priv.h"
56 void Wakeup() { wakeup.SendWakeup(); }
68 shared_ptr<Sync::Future<int> > ConnectWriter(
Key_t writerkey);
75 shared_ptr<Sync::Future<int> > ConnectReader(
Key_t readerkey);
106 typedef std::multimap<Key_t, shared_ptr<PendingConnection> >
PendingMap;
Logger object that is used for forwarding log messages.
A convenience handle for event loops so that one can interrupt a Poll before it times out...
std::multimap< Key_t, shared_ptr< PendingConnection > > PendingMap
An abstraction of a socket address with convenience methods.
A FileHandle customized with some socket specific functionality and functions.
ServerSocketHandle server
shared_ptr< Context > context
A very simple logging interface.
ConnectionServer * server
std::vector< SocketAddress > SockAddrList
PendingMap pendingconnections