message: align to subscribed callback changes
diff: @@ -73,18 +73,18 @@ int main(int argc, char** argv)
  /* Session is now open, subscribe to a topic. */
  bool have_subscription = false;
  wampcc::t_subscription_id subscription_id = 0;
  - wampcc::subscribed_cb my_subscribed_cb = [&](wampcc::t_request_id request_id, std::string uri, bool successful,
  - wampcc::t_subscription_id subid, std::string error)
  - {
  - if (successful)
  + wampcc::subscribed_cb my_subscribed_cb = [&](wampcc::wamp_subscribed& subscribed) {
  + if (subscribed)
  {
  have_subscription = true;
  - subscription_id = subid;
  - std::cout << "subscription successful for '"<<uri << "', subscription_id " << subid << std::endl;
  + subscription_id = subscribed.subscription_id;
  + std::cout << "subscription successful for '"<<subscribed.uri
  + << "', subscription_id " << subscription_id << std::endl;
  }
  else
  {
  - std::cout << "subscription failed for '"<< uri << "', error: " << error << std::endl;
  + std::cout << "subscription failed for '"<< subscribed.uri
  + << "', error: " << subscribed.error_uri << std::endl;
  session->close();
  }
  };
  