mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-26 12:41:35 +03:00
22 lines
336 B
C++
22 lines
336 B
C++
#ifndef ISOCKETFACTORY_H
|
|
#define ISOCKETFACTORY_H
|
|
|
|
#include "IInterface.h"
|
|
#include "XSocket.h"
|
|
|
|
class ISocket;
|
|
class IListenSocket;
|
|
|
|
class ISocketFactory : public IInterface {
|
|
public:
|
|
// manipulators
|
|
|
|
// accessors
|
|
|
|
// create sockets
|
|
virtual ISocket* create() const = 0;
|
|
virtual IListenSocket* createListen() const = 0;
|
|
};
|
|
|
|
#endif
|