TOutboxQueue(TConnectionProcessor& processor, const bts::profile_ptr& profile) :
      Processor(processor)
      {
      Profile = profile;
      App = bts::application::instance();

      Outbox = profile->get_pending_db();
      Sent = profile->get_sent_db();
      CancelPromise = new fc::promise<void>;

      checkForAvailableConnection();
      }
示例#2
0
 explicit TOutboxQueue(const bts::profile_ptr& profile)
   {
   Outbox = profile->get_pending_db();
   Sent = profile->get_sent_db();
   }