Exemple #1
0
        void QueueSegment(ITransactionSegment segment)
        {
            if (lastSegment != null)
            {
                lastSegment.AttachNext(segment);
            }

            lastSegment = segment;
        }
Exemple #2
0
 void HandOffTransactionIfPossible()
 {
     if (gotResponse && (body == null || (body != null && bodyFinished)) && transaction != null && next != null)
     {
         next.AttachTransaction(transaction);
         transaction = null;
         next        = null;
         body        = null;
     }
 }
        void QueueSegment(ITransactionSegment segment)
        {
            if (lastSegment != null)
                lastSegment.AttachNext(segment);

            lastSegment = segment;
        }
Exemple #4
0
 public void OnError(Exception e)
 {
     transaction.Dispose();
     transaction = null;
     next        = null;
 }
Exemple #5
0
        public void AttachNext(ITransactionSegment next)
        {
            this.next = next;

            HandOffTransactionIfPossible();
        }
Exemple #6
0
 public void AttachNext(ITransactionSegment next)
 {
 }