(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.11 and 1.13.2.1

version 1.11, 2007/01/12 18:15:05 version 1.13.2.1, 2007/09/11 16:32:42
Line 46 
Line 46 
 # include "AnonymousPipePOSIX.cpp" # include "AnonymousPipePOSIX.cpp"
 #elif defined (PEGASUS_OS_VMS) #elif defined (PEGASUS_OS_VMS)
 # include "AnonymousPipePOSIX.cpp" # include "AnonymousPipePOSIX.cpp"
   #elif defined (PEGASUS_OS_VXWORKS)
   # include "AnonymousPipePOSIX.cpp"
 #else #else
 # error "Unsupported platform" # error "Unsupported platform"
 #endif #endif
Line 76 
Line 78 
     //     //
     // Write the serialized message to the pipe     // Write the serialized message to the pipe
     //     //
     Status writeStatus;      Uint32 messageLength = messageBuffer.size();
     try  
     {  
         Uint32 messageLength = (Uint32) messageBuffer.size ();  
         const char * messageData = messageBuffer.getData ();         const char * messageData = messageBuffer.getData ();
  
         writeStatus =      Status writeStatus =
             writeBuffer((const char*) &messageLength, sizeof(Uint32));             writeBuffer((const char*) &messageLength, sizeof(Uint32));
  
         if (writeStatus == STATUS_SUCCESS)         if (writeStatus == STATUS_SUCCESS)
         {         {
             writeStatus = writeBuffer(messageData, messageLength);             writeStatus = writeBuffer(messageData, messageLength);
         }         }
     }  
     catch (...)  
     {  
         PEG_METHOD_EXIT ();  
         throw;  
     }  
  
     PEG_METHOD_EXIT ();     PEG_METHOD_EXIT ();
     return writeStatus;     return writeStatus;


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2