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

Diff for /pegasus/src/Pegasus/Common/AnonymousPipe.cpp between version 1.1 and 1.10.2.1

version 1.1, 2004/06/26 01:10:05 version 1.10.2.1, 2007/01/09 02:41:17
Line 1 
Line 1 
 //%2003////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 // IBM Corp.; EMC Corporation, The Open Group. // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 21 
Line 27 
 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 // //
 //==============================================================================  //=============================================================================
 // //
 // Author: Carol Ann Krug Graves, Hewlett-Packard Company  //%////////////////////////////////////////////////////////////////////////////
 //             (carolann_graves@hp.com)  
 //  
 // Modified By:  
 //  
 //%/////////////////////////////////////////////////////////////////////////////  
  
 #include <Pegasus/Common/CIMMessageSerializer.h> #include <Pegasus/Common/CIMMessageSerializer.h>
 #include <Pegasus/Common/CIMMessageDeserializer.h> #include <Pegasus/Common/CIMMessageDeserializer.h>
Line 42 
Line 43 
 #if defined (PEGASUS_OS_TYPE_WINDOWS) #if defined (PEGASUS_OS_TYPE_WINDOWS)
 # include "AnonymousPipeWindows.cpp" # include "AnonymousPipeWindows.cpp"
 #elif defined (PEGASUS_OS_TYPE_UNIX) #elif defined (PEGASUS_OS_TYPE_UNIX)
 # include "AnonymousPipeUnix.cpp"  # include "AnonymousPipePOSIX.cpp"
   #elif defined (PEGASUS_OS_VMS)
   # include "AnonymousPipePOSIX.cpp"
 #else #else
 # error "Unsupported platform" # error "Unsupported platform"
 #endif #endif
Line 56 
Line 59 
     //     //
     // Serialize the request     // Serialize the request
     //     //
     Array <Sint8> messageBuffer;      Buffer messageBuffer;
     messageBuffer.reserveCapacity (4096);     messageBuffer.reserveCapacity (4096);
     try     try
     {     {
Line 76 
Line 79 
     Status writeStatus;     Status writeStatus;
     try     try
     {     {
         Uint32 messageLength = messageBuffer.size ();          Uint32 messageLength = (Uint32) messageBuffer.size ();
         const char * messageData = messageBuffer.getData ();         const char * messageData = messageBuffer.getData ();
  
         writeStatus = writeBuffer ((const char *) &messageLength,         writeStatus = writeBuffer ((const char *) &messageLength,
Line 167 
Line 170 
     return readStatus;     return readStatus;
 } }
  
   void AnonymousPipe::setSessionKey(const SessionKey& sessionKey)
   {
       _sessionKey = sessionKey;
   }
   
   const SessionKey& AnonymousPipe::getSessionKey() const
   {
       return _sessionKey;
   }
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.1  
changed lines
  Added in v.1.10.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2