+class ServerSocketListener : public ListenSocketBase
+{
+ SpanningTreeUtilities *Utils;
+
+ public:
+ ServerSocketListener(SpanningTreeUtilities *u, int port, const std::string& addr, const std::string& Hook)
+ : ListenSocketBase(port, addr, "servers", Hook), Utils(u)
+ {
+ }
+
+ virtual void OnAcceptReady(int nfd);
+};
+
+typedef std::map<TreeServer*,TreeServer*> TreeServerList;