refector: TCPListenSocket, remove duplicate public in header, make m_mutex private

This commit is contained in:
sithlord48 2025-07-11 11:42:08 -04:00 committed by Nick Bolton
parent 0884a267d1
commit c327c80d63

View file

@ -39,15 +39,15 @@ public:
// IListenSocket overrides
std::unique_ptr<IDataSocket> accept() override;
protected:
void setListeningJob();
public:
ISocketMultiplexerJob *serviceListening(ISocketMultiplexerJob *, bool, bool, bool);
protected:
ArchSocket m_socket;
std::mutex m_mutex;
void setListeningJob();
IEventQueue *m_events;
ArchSocket m_socket;
SocketMultiplexer *m_socketMultiplexer;
private:
std::mutex m_mutex;
};