(file) Return to InteropProvider.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ControlProviders / InteropProvider

Diff for /pegasus/src/Pegasus/ControlProviders/InteropProvider/InteropProvider.cpp between version 1.5.2.5 and 1.5.2.6

version 1.5.2.5, 2004/02/13 17:17:46 version 1.5.2.6, 2004/02/13 21:05:42
Line 59 
Line 59 
     Add the association functions     Add the association functions
     Add a new class to pickup the communicationlink encryption functions and the     Add a new class to pickup the communicationlink encryption functions and the
     TCP address.     TCP address.
       UUID generation should become a system function since it will be used
       by many providers, etc. as part of id generation.
 */ */
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
Line 101 
Line 103 
 //#define CDEBUG(X) Logger::put (Logger::DEBUG_LOG, "Linux_ProcessorProvider", Logger::INFORMATION, "$0", X) //#define CDEBUG(X) Logger::put (Logger::DEBUG_LOG, "Linux_ProcessorProvider", Logger::INFORMATION, "$0", X)
 //#define CDEBUG(X) {std::stringstream ss; std::string r;ss << X;ss>>r; PEG_TRACE_STRING(TRC_CONTROLPROVIDER, Tracer::LEVEL4, r)} //#define CDEBUG(X) {std::stringstream ss; std::string r;ss << X;ss>>r; PEG_TRACE_STRING(TRC_CONTROLPROVIDER, Tracer::LEVEL4, r)}
  
 static const String PegasusInstanceIDGlobalPrefix = "PEG";  
  
   //**************************************************************************
   //
 //    Constants representing the class names processed //    Constants representing the class names processed
   //
   //**************************************************************************
   
   // The following should be moved to somewhere like constants.
   static const String PegasusInstanceIDGlobalPrefix = "PEG";
  
 /** /**
     The constants representing the class names we process     The constants representing the class names we process
Line 191 
Line 199 
 /*  get the prefix that will be part of the cimom identification /*  get the prefix that will be part of the cimom identification
     This can be either the default PEG or if the environment     This can be either the default PEG or if the environment
     variable PEGASUS_TRADEMARK_PREFIX is defined this is used.     variable PEGASUS_TRADEMARK_PREFIX is defined this is used.
       NOTE: getting from the environment variable is a hack until
       we can come up with a better source.
     @return String containing the unique name for the CIMOM ID     @return String containing the unique name for the CIMOM ID
   
 */ */
  
 String getTrademarkCIMOMIDPrefix() String getTrademarkCIMOMIDPrefix()
Line 200 
Line 209 
  
     char * trademark;     char * trademark;
     trademark = getenv("PEGASUS_TRADEMARK_PREFIX");     trademark = getenv("PEGASUS_TRADEMARK_PREFIX");
     if (!trademark)      return((trademark)? trademark : PegasusInstanceIDGlobalPrefix);
     {  
     return(String(PegasusInstanceIDGlobalPrefix));  
     }  
     else  
         return(String(trademark));  
 } }
 /** Builds the UUID string for this CIMOM. /** Builds the UUID string for this CIMOM.
 **/ **/
 String getUUIDString() String getUUIDString()
 { {
  
      // ATTN: KS Jan 2004 Leave this dead code in until we complete the UNIX/LINUX uuid generator.
    //UUID Generation code starts    //UUID Generation code starts
    //Uses "libuuid.a" in /usr/lib directory. Make sure it's there. Also Makefile has "-luuid" added to $EXTRA_LIBRARIES    //Uses "libuuid.a" in /usr/lib directory. Make sure it's there. Also Makefile has "-luuid" added to $EXTRA_LIBRARIES
    /*    /*


Legend:
Removed from v.1.5.2.5  
changed lines
  Added in v.1.5.2.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2