Vault
4.1
|
00001 /* 00002 Copyright c1997-2014 Trygve Isaacson. All rights reserved. 00003 This file is part of the Code Vault version 4.1 00004 http://www.bombaydigital.com/ 00005 License: MIT. See LICENSE.md in the Vault top level directory. 00006 */ 00007 00008 #ifndef vsocketfactory_h 00009 #define vsocketfactory_h 00010 00013 #include "vsocket.h" 00014 00024 class VSocketFactory { 00025 public: 00026 00030 VSocketFactory(); 00034 virtual ~VSocketFactory() {} 00035 00042 virtual VSocket* createSocket(VSocketID socketID); 00051 virtual VSocket* createSocket(const VString& hostName, int portNumber, const VSocketConnectionStrategy& connectionStrategy); 00052 00053 }; 00054 00055 #endif /* vsocketfactory_h */