barrier/synergy/CTCPSocketFactory.cpp

30 lines
398 B
C++
Raw Normal View History

2001-10-06 14:13:28 +00:00
#include "CTCPSocketFactory.h"
#include "CTCPSocket.h"
#include "CTCPListenSocket.h"
//
// CTCPSocketFactory
//
CTCPSocketFactory::CTCPSocketFactory()
{
// do nothing
}
CTCPSocketFactory::~CTCPSocketFactory()
{
// do nothing
}
IDataSocket*
CTCPSocketFactory::create() const
2001-10-06 14:13:28 +00:00
{
return new CTCPSocket;
}
IListenSocket*
CTCPSocketFactory::createListen() const
2001-10-06 14:13:28 +00:00
{
return new CTCPListenSocket;
}