mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
server: Moved buffer formatting into bufferstrategy
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user