~ci-train-bot/messaging-framework/messaging-framework-ubuntu-zesty-2311

« back to all changes in this revision

Viewing changes to include/messaging/connection.h

  • Committer: Tarmac
  • Author(s): Roberto Mier Escandon
  • Date: 2016-10-27 16:23:38 UTC
  • mfrom: (68.1.5 maintain-connection-state)
  • Revision ID: tarmac-20161027162338-aoi713fckmq5s4vf
Sets a reason when disconnecting, to differenciate if user requested disconnection or is it due to a network matter.

Approved by system-apps-ci-bot, Gustavo Pichorim Boiko.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    virtual void connect() = 0;
94
94
 
95
95
    /// @brief login signs out from server if logged in
96
 
    virtual void disconnect() = 0;
 
96
    virtual void disconnect(StatusChangedReason reason) = 0;
97
97
 
98
98
    /// @brief normalize identifier
99
99
    virtual std::string normalize_identifier(const std::string &id) = 0;