Changeset 21014
- Timestamp:
- 02/09/08 20:10:24 (7 months ago)
- Files:
-
- juggler/trunk/modules/jackal/ChangeLog (modified) (1 diff)
- juggler/trunk/modules/jackal/VERSION (modified) (1 diff)
- juggler/trunk/modules/jackal/plugins/configure.ac (modified) (1 diff)
- juggler/trunk/modules/jackal/plugins/corba_rtrc/CorbaRemoteReconfig.cpp (modified) (4 diffs)
- juggler/trunk/modules/jackal/plugins/corba_rtrc/CorbaRemoteReconfig.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/jackal/ChangeLog
r20760 r21014 1 1 DATE AUTHOR CHANGE 2 2 ----------- ----------- ------------------------------------------------------- 3 Feb-09-2008 patrick Changed the remote run-time reconfiguration plug-in to 4 use a direct connection for Subject Manager access 5 instead of going through the CORBA Naming Service. 6 NEW VERSION: 1.3.5 3 7 Sep-04-2007 patrick Use new environment variable JCCL_DATA_DIR as a way to 4 8 look up files in JCCL_BASE_DIR/share/jccl. juggler/trunk/modules/jackal/VERSION
r20760 r21014 1 1.3.5-0 @02/10/2008 02:10:00 UTC@ 1 2 1.3.4-0 @09/05/2007 02:45:00 UTC@ 2 3 1.3.3-0 @07/08/2007 21:15:00 UTC@ juggler/trunk/modules/jackal/plugins/configure.ac
r20974 r21014 147 147 fi 148 148 149 min_tweek_version='1. 1.10'149 min_tweek_version='1.3.4' 150 150 if test "x$test_tweek_cxx" = "xY" ; then 151 151 TWEEK_PATH_CXX([$min_tweek_version], [HAVE_TWEEK_CXX='Y'], juggler/trunk/modules/jackal/plugins/corba_rtrc/CorbaRemoteReconfig.cpp
r20974 r21014 99 99 bool CorbaRemoteReconfig::configAdd(jccl::ConfigElementPtr element) 100 100 { 101 const unsigned int min_def_version(2); 102 103 if ( element->getVersion() < min_def_version ) 104 { 105 vprDEBUG(jcclDBG_PLUGIN, vprDBG_WARNING_LVL) 106 << clrOutBOLD(clrYELLOW, "WARNING") << ": Element named '" 107 << element->getName() << "'" << std::endl; 108 vprDEBUG_NEXTnl(jcclDBG_PLUGIN, vprDBG_WARNING_LVL) 109 << "is version " << element->getVersion() 110 << ", but we expect at least version " << min_def_version << ".\n"; 111 vprDEBUG_NEXTnl(jcclDBG_PLUGIN, vprDBG_WARNING_LVL) 112 << "Default values will be used for some settings.\n" 113 << vprDEBUG_FLUSH; 114 } 115 101 116 // If the ORB is already running, we need to shut it down first. One big 102 117 // reason for doing this is to release the resources (memory and so on) … … 112 127 } 113 128 114 const std::string ns_host =115 element->getProperty<std::string>("naming_service_host");116 const vpr::Uint16 ns_port =117 element->getProperty<vpr::Uint16>("naming_service_port");118 const std::string iiop_version =119 element->getProperty<std::string>("iiop_version");120 121 129 // We'll ignore the return value for now. startCorba() prints out enough 122 130 // warning information on its own if something goes wrong. 123 this->startCorba(ns_host, ns_port, iiop_version); 131 this->startCorba(element->getProperty<std::string>("endpoint_addr"), 132 element->getProperty<vpr::Uint16>("endpoint_port")); 124 133 125 134 return true; … … 194 203 } 195 204 196 bool CorbaRemoteReconfig::startCorba(const std::string& nsHost, 197 const vpr::Uint16 nsPort, 198 const std::string& iiopVer) 205 bool CorbaRemoteReconfig::startCorba(const std::string& listenAddr, 206 const vpr::Uint16 listenPort) 199 207 { 200 208 // Create new CORBA Manager and initialize it. … … 208 216 209 217 // Attempt to initialize the CORBA Manager. 210 bool status = mCorbaManager->init ("corba_rtrc", dummy_int, NULL, nsHost,211 nsPort, iiopVer);212 213 // Test to see if init () succeeded.218 bool status = mCorbaManager->initDirect("corba_rtrc", dummy_int, NULL, 219 listenAddr, listenPort); 220 221 // Test to see if initDirect() succeeded. 214 222 if ( status ) 215 223 { juggler/trunk/modules/jackal/plugins/corba_rtrc/CorbaRemoteReconfig.h
r20974 r21014 100 100 * handling remote reconfiguration requests. 101 101 * 102 * @param nsHost The name of the host computer where the CORBA Naming 103 * Service is running. 104 * @param nsport The port number on which the CORBA Naming Service is 105 * listening for incoming connections. 106 * @param iiopVer The version of IIOP the Naming Service is using. This 107 * is normally 1.0 or 1.2. 102 * @param listenAddr The address to which the CORBA endpoint will be bound. 103 * Using an empty string will result in binding to the 104 * default interface. 105 * @param listenPort The port number for the CORBA endpoint. This must be 106 * a valid port number. 108 107 */ 109 bool startCorba(const std::string& nsHost, const vpr::Uint16 nsPort,110 const std::string& iiopVer);108 bool startCorba(const std::string& listenAddr, 109 const vpr::Uint16 listenPort); 111 110 112 111 /**
