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

Diff for /pegasus/src/Server/cimserver.cpp between version 1.4 and 1.7

version 1.4, 2001/04/24 21:15:49 version 1.7, 2001/05/10 10:57:20
Line 1 
Line 1 
 //BEGIN_LICENSE  //%/////////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM
 // //
Line 17 
Line 17 
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
 // //
 //END_LICENSE  //==============================================================================
 //BEGIN_HISTORY  
 // //
 // Author: Mike Brasher  // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 //END_HISTORY  // Modified By:
   //
   //%/////////////////////////////////////////////////////////////////////////////
  
 #include <iostream> #include <iostream>
 #include <cstdlib> #include <cstdlib>
Line 30 
Line 31 
 #include <Pegasus/Common/Selector.h> #include <Pegasus/Common/Selector.h>
 #include <Pegasus/Common/OptionManager.h> #include <Pegasus/Common/OptionManager.h>
 #include <Pegasus/Server/CIMServer.h> #include <Pegasus/Server/CIMServer.h>
   #include <Pegasus/Common/PegasusVersion.h>
  
 using namespace Pegasus; using namespace Pegasus;
 using namespace std; using namespace std;
  
 const char PEGASUS_VERSION[]  = "Pegasus CIM Server - Version 0.7";  // const char PEGASUS_VERSION[]  = "Pegasus CIM Server - Version 0.7";
  
 void GetEnvironmentVariables( void GetEnvironmentVariables(
     const char* arg0,     const char* arg0,
Line 84 
Line 86 
 void PrintHelp(const char* arg0) void PrintHelp(const char* arg0)
 { {
     cout << '\n';     cout << '\n';
     cout << PEGASUS_VERSION << endl;      cout << PEGASUS_NAME << PEGASUS_VERSION << endl;
     cout << '\n';     cout << '\n';
     cout << "Usage: " << arg0 << " [-port <port_num> -t -h -v]\n";     cout << "Usage: " << arg0 << " [-port <port_num> -t -h -v]\n";
     cout << '\n';     cout << '\n';
Line 163 
Line 165 
         CIMServer server(&selector, pegasusHome);         CIMServer server(&selector, pegasusHome);
  
         char* address = portOption.allocateCString();         char* address = portOption.allocateCString();
   
           // Put out startup up message.
           // Put to cout if not daemon
           // ATTN: modify when we add daemon
           cout << PEGASUS_NAME << PEGASUS_VERSION <<
                " on port " << address << endl;
           cout << "Built " << __DATE__ << " " << __TIME__ << endl;
           cout <<"Started..." <<endl;
   
         server.bind(address);         server.bind(address);
         delete [] address;         delete [] address;
         server.runForever();         server.runForever();


Legend:
Removed from v.1.4  
changed lines
  Added in v.1.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2