barrier/lib/net/CTCPSocketFactory.cpp
2002-07-30 18:31:00 +00:00

30 lines
398 B
C++

#include "CTCPSocketFactory.h"
#include "CTCPSocket.h"
#include "CTCPListenSocket.h"
//
// CTCPSocketFactory
//
CTCPSocketFactory::CTCPSocketFactory()
{
// do nothing
}
CTCPSocketFactory::~CTCPSocketFactory()
{
// do nothing
}
IDataSocket*
CTCPSocketFactory::create() const
{
return new CTCPSocket;
}
IListenSocket*
CTCPSocketFactory::createListen() const
{
return new CTCPListenSocket;
}