00001 #ifndef __RIPC_CLIENT_FACTORY_H__ 00002 #define __RIPC_CLIENT_FACTORY_H__ 00003 00004 #include "RIPCFactory.h" 00005 00009 class RIPC_DLL_ENTRY RIPCClientFactory : public RIPCFactory { 00010 public: 00011 static RIPCClientFactory* getInstance() { 00012 return &theFactory; 00013 } 00014 RIPCSession* create(char const* host, int port); 00015 00016 protected: 00017 static RIPCClientFactory theFactory; 00018 }; 00019 00020 #endif