]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengine_ports.h
Store id in TreeServer, use TreeServer::GetID() to get the id (NOTE: it is std::string)
[user/henk/code/inspircd.git] / include / socketengine_ports.h
index 84b57e3fd2ff3c1a79fd3c8cd54adcd4165ecb4b..a5951a138b6dd70245a775943ce9318cca0f7457 100644 (file)
 #include "inspircd.h"
 #include "socketengine.h"
 #include <port.h>
-#define EP_DELAY 5
 
 class InspIRCd;
 
-/** A specialisation of the SocketEngine class, designed to use linux 2.6 epoll().
+/** A specialisation of the SocketEngine class, designed to use solaris 10 I/O completion ports
  */
 class PortsEngine : public SocketEngine
 {
@@ -39,11 +38,11 @@ private:
         */
        port_event_t events[MAX_DESCRIPTORS];
 public:
-       /** Create a new EPollEngine
+       /** Create a new PortsEngine
         * @param Instance The creator of this object
         */
        PortsEngine(InspIRCd* Instance);
-       /** Delete an EPollEngine
+       /** Delete a PortsEngine
         */
        virtual ~PortsEngine();
        virtual bool AddFd(EventHandler* eh);
@@ -66,3 +65,4 @@ public:
 };
 
 #endif
+