fixed code style

This commit is contained in:
XinyuHou 2015-01-12 10:51:16 +00:00
parent f973d1498d
commit be2b87fd39
4 changed files with 14 additions and 10 deletions

View File

@ -96,15 +96,16 @@ private:
private:
Mutex* m_mutex;
Thread* m_thread;
Thread* m_thread;
bool m_update;
CondVar<bool>* m_jobsReady;
CondVar<bool>* m_jobListLock;
CondVar<bool>* m_jobListLockLocked;
Thread* m_jobListLocker;
Thread* m_jobListLockLocker;
Thread* m_jobListLocker;
Thread* m_jobListLockLocker;
SocketJobs m_socketJobs;
SocketJobMap m_socketJobMap;
ISocketMultiplexerJob* m_cursorMark;
ISocketMultiplexerJob*
m_cursorMark;
};

View File

@ -41,7 +41,8 @@ public:
virtual void* getEventTarget() const;
// IListenSocket overrides
virtual IDataSocket* accept();
virtual IDataSocket*
accept();
private:
ISocketMultiplexerJob*
@ -52,5 +53,5 @@ private:
ArchSocket m_socket;
Mutex* m_mutex;
IEventQueue* m_events;
SocketMultiplexer* m_socketMultiplexer;
SocketMultiplexer* m_socketMultiplexer;
};

View File

@ -87,5 +87,5 @@ private:
bool m_readable;
bool m_writable;
IEventQueue* m_events;
SocketMultiplexer* m_socketMultiplexer;
SocketMultiplexer* m_socketMultiplexer;
};

View File

@ -30,10 +30,12 @@ public:
virtual ~TCPSocketFactory();
// ISocketFactory overrides
virtual IDataSocket* create() const;
virtual IListenSocket* createListen() const;
virtual IDataSocket*
create() const;
virtual IListenSocket*
createListen() const;
private:
IEventQueue* m_events;
SocketMultiplexer* m_socketMultiplexer;
SocketMultiplexer* m_socketMultiplexer;
};