mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 12:06:26 +03:00
6aba3a6f57
being listed and they'd have to be added to every one. just doesn't seem worth the trouble.
28 lines
399 B
C++
28 lines
399 B
C++
#include "CTCPSocketFactory.h"
|
|
#include "CTCPSocket.h"
|
|
#include "CTCPListenSocket.h"
|
|
|
|
//
|
|
// CTCPSocketFactory
|
|
//
|
|
|
|
CTCPSocketFactory::CTCPSocketFactory()
|
|
{
|
|
// do nothing
|
|
}
|
|
|
|
CTCPSocketFactory::~CTCPSocketFactory()
|
|
{
|
|
// do nothing
|
|
}
|
|
|
|
ISocket* CTCPSocketFactory::create() const
|
|
{
|
|
return new CTCPSocket;
|
|
}
|
|
|
|
IListenSocket* CTCPSocketFactory::createListen() const
|
|
{
|
|
return new CTCPListenSocket;
|
|
}
|