Esempio n. 1
0
 public TransactionDownloadData(T transaction, TransactionDownloadManager transactionManager)
 {
     Transaction        = transaction;
     TransactionManager = transactionManager;
     HasAttachements    = transaction is AttachementDataTransaction;
     if (!HasAttachements)
     {
         AttachementsState = TransactionAttachementsState.Ok;
     }
 }
Esempio n. 2
0
        public override async Task <long> QueryLastStoredTransactionId(TransactionDownloadManager transactionManager)
        {
            var result = await transactionManager.GetLastTargetedTransactionEntry(TransactionId);

            if (result != null)
            {
                return(result.LastTransactionId);
            }

            return(Operation.InvalidTransactionId);
        }
Esempio n. 3
0
 public TargetedTransactionDownload(long transactionId, TransactionDownloadManager transactionManager) : base(transactionId, transactionManager)
 {
 }
Esempio n. 4
0
 public AccountTransactionDownload(long accountId, TransactionDownloadManager transactionManager) : base(accountId, transactionManager)
 {
 }
 public abstract Task <long> QueryLastStoredTransactionId(TransactionDownloadManager transactionManager);
Esempio n. 6
0
 public GroupTransactionDownload(long groupId, TransactionDownloadManager transactionManager) : base(groupId, transactionManager)
 {
 }
Esempio n. 7
0
 public GroupIndexTransactionDownload(long groupId, Index index, TransactionDownloadManager transactionManager) : base(groupId, transactionManager)
 {
     Index = index;
 }
Esempio n. 8
0
 protected TransactionDownload(long id, TransactionDownloadManager transactionManager)
 {
     Id = id;
     TransactionManager = transactionManager;
 }
 public SharedAccountIndexTransactionDownload(long accountId, Index index, TransactionDownloadManager transactionManager) : base(accountId, transactionManager)
 {
     Index = index;
 }