Inheritance: System.EventArgs
Ejemplo n.º 1
0
        private void OnResponse(object sender, ResponseEventArgs e)
        {
/*
 *          If there are any client transactions in existence, the client
 *          transport uses the matching procedures of Section 17.1.3 to attempt
 *          to match the response to an existing transaction.  If there is a
 *          match, the response MUST be passed to that transaction.  Otherwise,
 *          the response MUST be passed to the core (whether it be stateless
 *          proxy, stateful proxy, or UA) for further processing.  Handling of
 *          these "stray" responses is dependent on the core (a proxy will
 *          forward them, while a UA will discard, for example).
 */
            if (_transactionManager.Process(e.Response))
            {
                _logger.Trace("Response " + e.Response + " handled by transaction.");
            }
            else
            {
            }
        }
Ejemplo n.º 2
0
 private void OnResponse(object sender, ResponseEventArgs e)
 {
     /*
     If there are any client transactions in existence, the client
     transport uses the matching procedures of Section 17.1.3 to attempt
     to match the response to an existing transaction.  If there is a
     match, the response MUST be passed to that transaction.  Otherwise,
     the response MUST be passed to the core (whether it be stateless
     proxy, stateful proxy, or UA) for further processing.  Handling of
     these "stray" responses is dependent on the core (a proxy will
     forward them, while a UA will discard, for example).
     */
     if (_transactionManager.Process(e.Response))
     {
         _logger.Trace("Response " + e.Response + " handled by transaction.");
     }
     else
     {
     }
 }