00001 #ifndef __RIPC_FACTORY_H__ 00002 #define __RIPC_FACTORY_H__ 00003 00004 #include "RIPCSession.h" 00005 00012 class RIPC_DLL_ENTRY RIPCFactory { 00013 public: 00023 virtual RIPCSession* create(char const* host, int port, int max_attempts=100) = 0; 00024 }; 00025 00026 #endif