mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-11 22:25:53 +08:00
dropped prefix C
This commit is contained in:
@@ -22,29 +22,29 @@
|
||||
#include "net/TCPListenSocket.h"
|
||||
|
||||
//
|
||||
// CTCPSocketFactory
|
||||
// TCPSocketFactory
|
||||
//
|
||||
|
||||
CTCPSocketFactory::CTCPSocketFactory(IEventQueue* events, SocketMultiplexer* socketMultiplexer) :
|
||||
TCPSocketFactory::TCPSocketFactory(IEventQueue* events, SocketMultiplexer* socketMultiplexer) :
|
||||
m_events(events),
|
||||
m_socketMultiplexer(socketMultiplexer)
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
CTCPSocketFactory::~CTCPSocketFactory()
|
||||
TCPSocketFactory::~TCPSocketFactory()
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
||||
IDataSocket*
|
||||
CTCPSocketFactory::create() const
|
||||
TCPSocketFactory::create() const
|
||||
{
|
||||
return new CTCPSocket(m_events, m_socketMultiplexer);
|
||||
return new TCPSocket(m_events, m_socketMultiplexer);
|
||||
}
|
||||
|
||||
IListenSocket*
|
||||
CTCPSocketFactory::createListen() const
|
||||
TCPSocketFactory::createListen() const
|
||||
{
|
||||
return new TCPListenSocket(m_events, m_socketMultiplexer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user