summaryrefslogtreecommitdiff
path: root/src/WebSocketInteractionCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebSocketInteractionCommand.h')
-rw-r--r--src/WebSocketInteractionCommand.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/WebSocketInteractionCommand.h b/src/WebSocketInteractionCommand.h
index 5db4acde..7257b82b 100644
--- a/src/WebSocketInteractionCommand.h
+++ b/src/WebSocketInteractionCommand.h
@@ -54,20 +54,17 @@ private:
std::shared_ptr<SocketCore> socket_;
bool writeCheck_;
std::shared_ptr<WebSocketSession> wsSession_;
+
public:
- WebSocketInteractionCommand(cuid_t cuid,
- const std::shared_ptr<WebSocketSession>& wsSession,
- DownloadEngine* e,
- const std::shared_ptr<SocketCore>& socket);
+ WebSocketInteractionCommand(
+ cuid_t cuid, const std::shared_ptr<WebSocketSession>& wsSession,
+ DownloadEngine* e, const std::shared_ptr<SocketCore>& socket);
virtual ~WebSocketInteractionCommand();
virtual bool execute() CXX11_OVERRIDE;
- std::shared_ptr<WebSocketSession>& getSession()
- {
- return wsSession_;
- }
+ std::shared_ptr<WebSocketSession>& getSession() { return wsSession_; }
void updateWriteCheck();
};