loolwsd: expose sending binary frame on Sessions

Change-Id: I5e81ced0511e44dc5f3445dae42f4354da164b3a
Reviewed-on: https://gerrit.libreoffice.org/24579
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
Ashod Nakashian 2016-05-01 20:32:59 -04:00 committed by Ashod Nakashian
parent c757253939
commit 1117be07c4

View file

@ -40,6 +40,7 @@ public:
bool isDisconnected() const { return _disconnected; }
void sendTextFrame(const std::string& text);
void sendBinaryFrame(const char *buffer, int length);
virtual bool getStatus(const char *buffer, int length) = 0;
@ -81,8 +82,6 @@ protected:
_name = _kindString + '-' + id;
}
void sendBinaryFrame(const char *buffer, int length);
/// Parses the options of the "load" command, shared between MasterProcessSession::loadDocument() and ChildProcessSession::loadDocument().
void parseDocOptions(const Poco::StringTokenizer& tokens, int& part, std::string& timestamp);