version 1.10.2.2, 2007/01/12 06:31:03
|
version 1.13, 2007/07/31 19:13:34
|
|
|
// | // |
// 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 = writeBuffer ((const char *) &messageLength, |
Status writeStatus = |
sizeof (Uint32)); |
writeBuffer((const char*) &messageLength, sizeof(Uint32)); |
| |
if (writeStatus == STATUS_SUCCESS) | if (writeStatus == STATUS_SUCCESS) |
{ | { |
writeStatus = writeBuffer (messageBuffer.getData (), |
writeStatus = writeBuffer(messageData, messageLength); |
messageLength); |
|
} |
|
} |
|
catch (...) |
|
{ |
|
PEG_METHOD_EXIT (); |
|
throw; |
|
} | } |
| |
PEG_METHOD_EXIT (); | PEG_METHOD_EXIT (); |