- made unit testing easier by (mostly) removing the event queue singleton.

- fixed code style in many places (mostly indentation).
This commit is contained in:
Nick Bolton 2013-06-29 14:17:49 +00:00
parent 13b2649fa0
commit 608074c041
143 changed files with 2220 additions and 2163 deletions

View file

@ -28,6 +28,7 @@
class CMutex;
class CThread;
class ISocketMultiplexerJob;
class IEventQueue;
//! TCP data socket
/*!
@ -35,8 +36,8 @@ A data socket using TCP.
*/
class CTCPSocket : public IDataSocket {
public:
CTCPSocket();
CTCPSocket(CArchSocket);
CTCPSocket(IEventQueue* events);
CTCPSocket(IEventQueue* events, CArchSocket socket);
~CTCPSocket();
// ISocket overrides
@ -85,6 +86,7 @@ private:
bool m_connected;
bool m_readable;
bool m_writable;
IEventQueue* m_events;
};
#endif