123456789101112131415161718192021222324252627282930313233 |
- #ifndef RTC_BASE_SOCKET_FACTORY_H_
- #define RTC_BASE_SOCKET_FACTORY_H_
- #include "rtc_base/async_socket.h"
- #include "rtc_base/socket.h"
- namespace rtc {
- class SocketFactory {
- public:
- virtual ~SocketFactory() {}
-
-
- virtual Socket* CreateSocket(int family, int type) = 0;
-
-
- virtual AsyncSocket* CreateAsyncSocket(int family, int type) = 0;
- };
- }
- #endif
|