"sendNow"

This commit is contained in:
badaix 2016-11-13 23:01:14 +01:00
parent a6993f11df
commit bd979f1c0e
4 changed files with 38 additions and 15 deletions

View file

@ -66,8 +66,8 @@ public:
bool send(const msg::BaseMessage* message) const;
/// Sends a message to the client (asynchronous)
void sendAsync(const std::shared_ptr<const msg::BaseMessage>& message);
void sendAsync(const msg::BaseMessage* message);
void sendAsync(const std::shared_ptr<const msg::BaseMessage>& message, bool sendNow = false);
void sendAsync(const msg::BaseMessage* message, bool sendNow = false);
bool active() const;