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/HTTP/Reply.cpp

    r1494 r3350  
    261261} 
    262262 
     263//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     264unsigned int 
     265Reply::getMessageId() const 
     266{ 
     267    // This really shouldn't be used for HTTP messages. 
     268    return 0; 
     269} 
     270 
     271//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     272unsigned int 
     273Reply::getRequestMessageId() const 
     274{ 
     275    // This really shouldn't be used for HTTP messages. 
     276    return 0; 
     277} 
    263278//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    264279void