mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-26 20:53:22 +03:00
57fb87ad10
now derive from ISocket.
21 lines
323 B
C++
21 lines
323 B
C++
#ifndef ISOCKETFACTORY_H
|
|
#define ISOCKETFACTORY_H
|
|
|
|
#include "IInterface.h"
|
|
|
|
class IDataSocket;
|
|
class IListenSocket;
|
|
|
|
class ISocketFactory : public IInterface {
|
|
public:
|
|
// manipulators
|
|
|
|
// accessors
|
|
|
|
// create sockets
|
|
virtual IDataSocket* create() const = 0;
|
|
virtual IListenSocket* createListen() const = 0;
|
|
};
|
|
|
|
#endif
|