refector: TCPListenSocket, remove duplicate public in header, make m_mutex private
This commit is contained in:
parent
0884a267d1
commit
c327c80d63
1 changed files with 6 additions and 6 deletions
|
|
@ -39,15 +39,15 @@ public:
|
||||||
// IListenSocket overrides
|
// IListenSocket overrides
|
||||||
std::unique_ptr<IDataSocket> accept() override;
|
std::unique_ptr<IDataSocket> accept() override;
|
||||||
|
|
||||||
protected:
|
|
||||||
void setListeningJob();
|
|
||||||
|
|
||||||
public:
|
|
||||||
ISocketMultiplexerJob *serviceListening(ISocketMultiplexerJob *, bool, bool, bool);
|
ISocketMultiplexerJob *serviceListening(ISocketMultiplexerJob *, bool, bool, bool);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
ArchSocket m_socket;
|
void setListeningJob();
|
||||||
std::mutex m_mutex;
|
|
||||||
IEventQueue *m_events;
|
IEventQueue *m_events;
|
||||||
|
ArchSocket m_socket;
|
||||||
SocketMultiplexer *m_socketMultiplexer;
|
SocketMultiplexer *m_socketMultiplexer;
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::mutex m_mutex;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue