コード例 #1
0
    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();
   }