00001 #ifndef CONNECTION_H 00002 #define CONNECTION_H 00003 #import "common.hh" 00004 #import "phases.hh" 00005 #import "rock.hh" 00014 class Connection { 00015 public: 00016 CORBA::ORB_var orb; 00017 CosNaming::NamingContext_var nameContext; 00018 Connection(int argc,char **argv); 00019 virtual ~Connection(void); 00022 CORBA::Object_ptr getObjectReference(CosNaming::Name name); 00025 phases::PhaseFactory_var getdPhaseFactory(void); 00027 phases::PhaseManager_var getdPhaseManager(void); 00029 rock::RockFactory_var getdRockFactory(void); 00031 rock::RockManager_var getdRockManager(void); 00033 common::ClientData_var getClientData(void); 00034 }; 00035 00036 #endif