Beispiel #1
0
 public void Reset()
 {
     _currentOutbound = null;
     _currentInbound  = null;
     _msgW            = null;
     _msgR            = null;
     _writeRes        = null;
     _readRes         = null;
     _skipRestRead    = false;
 }
 public void Reset()
 {
     _currentOutbound = null;
     _currentInbound = null;
     _msgW = null;
     _msgR = null;
     _writeRes = null;
     _readRes = null;
     _skipRestRead = false;
 }
Beispiel #3
0
 private IOutboundHandler GetNextOutbound()
 {
     if (OutboundHandlers.Count != 0)
     {
         if (_currentOutbound == null)
         {
             _currentOutbound = OutboundHandlers.First.Value;
         }
         else
         {
             var node = OutboundHandlers.Find(_currentOutbound);
             if (node != null && node.Next != null)
             {
                 _currentOutbound = node.Next.Value;
                 return(_currentOutbound);
             }
             return(null);
         }
         return(_currentOutbound);
     }
     return(null);
 }
 private IOutboundHandler GetNextOutbound()
 {
     if (OutboundHandlers.Count != 0)
     {
         if (_currentOutbound == null)
         {
             _currentOutbound = OutboundHandlers.First.Value;
         }
         else
         {
             var node = OutboundHandlers.Find(_currentOutbound);
             if (node != null && node.Next != null)
             {
                 _currentOutbound = node.Next.Value;
                 return _currentOutbound;
             }
             return null;
         }
         return _currentOutbound;
     }
     return null;
 }