Show
Ignore:
Timestamp:
02/01/10 15:42:38 (6 months ago)
Author:
trichards
Message:

Implemented getMessageId and getRequestMessageId methods to ZBoostNetworking protocol classes.
I still think getMessageId is wrong, but I'll fix that later. I think I need to add a global unique messageId generator in ApplicationServer? instead of having one per Message implementation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZBoostNetworking/src/XML/I_XMLResponse.cpp

    r1236 r3350  
    6868//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    6969I_XMLResponse::pResponse_type 
    70 I_XMLResponse::createResponse(pEndpoint_type _pDestinationEndpoint, StatusType _status, const std::string& _body, const std::string& _contentType) 
     70I_XMLResponse::createResponse(pEndpoint_type _pDestinationEndpoint, StatusType _status,  
     71                              const std::string& _body, unsigned int _requestMessageId, 
     72                              const std::string& _contentType) 
    7173{ 
    72     Reply* pReply = new XML::Reply(_pDestinationEndpoint, _status, _body, _contentType); 
     74    Reply* pReply = new XML::Reply(_pDestinationEndpoint, _status, _body, _contentType, _requestMessageId); 
    7375 
    7476    pResponse_type pResponse(pReply, destroyResponse);