#include "dns.h"
#include "inspircd_config.h"
#include "socket.h"
+#include "inspsocket.h"
/**
* States which a socket may be in
* and use the InspSocket constructors to establish connections
* and bindings.
*/
-class InspSocket : public Extensible
+class InspSocket : public EventHandler
{
public:
InspIRCd* Instance;
std::deque<std::string> outbuffer;
- /**
- * The file descriptor of this socket
- */
- int fd;
-
/**
* The hostname connected to
*/
* memory reclaimed.
*/
void MarkAsClosed();
+
+ void HandleEvent(EventType et);
+
+ bool Readable();
};
#endif