diff --git a/src/ripple/websocket/Handler.h b/src/ripple/websocket/Handler.h index e848a38a56..1db429e035 100644 --- a/src/ripple/websocket/Handler.h +++ b/src/ripple/websocket/Handler.h @@ -112,7 +112,7 @@ public: return port_->allow_admin; }; - static void ssend (connection_ptr cpClient, message_ptr mpMessage) + void send (connection_ptr cpClient, message_ptr mpMessage) { try { @@ -125,8 +125,8 @@ public: } } - static void ssendb (connection_ptr cpClient, std::string const& strMessage, - bool broadcast) + void send (connection_ptr cpClient, std::string const& strMessage, + bool broadcast) { try { @@ -142,23 +142,6 @@ public: } } - void send (connection_ptr cpClient, message_ptr mpMessage) - { - cpClient->get_strand ().post ( - std::bind ( - &WSServerHandler::ssend, - cpClient, mpMessage)); - } - - void send (connection_ptr cpClient, std::string const& strMessage, - bool broadcast) - { - cpClient->get_strand ().post ( - std::bind ( - &WSServerHandler::ssendb, cpClient, strMessage, - broadcast)); - } - void send (connection_ptr cpClient, Json::Value const& jvObj, bool broadcast) { send (cpClient, to_string (jvObj), broadcast);