|
|
@ -38,6 +38,17 @@ public: |
|
|
|
*/ |
|
|
|
virtual std::string BufferMessage(std::string& rawBuffer) = 0; |
|
|
|
|
|
|
|
/*** |
|
|
|
* Called to properly buffer an outgoing message. |
|
|
|
* |
|
|
|
* @param rawBuffer Message to format in the correct way |
|
|
|
* |
|
|
|
* @return Formatted message |
|
|
|
*/ |
|
|
|
virtual std::string BufferOutMessage(const std::string& rawBuffer) const |
|
|
|
{ |
|
|
|
return rawBuffer; |
|
|
|
}; |
|
|
|
/*** |
|
|
|
* Resets the internal state of the buffering |
|
|
|
*/ |
|
|
|