Exemplo n.º 1
0
 protected override void XReadActivated(Pipe pipe)
 {
     if (!m_anonymousPipes.Contains(pipe))
     {
         m_fairQueueing.Activated(pipe);
     }
     else
     {
         bool identityOk = IdentifyPeer(pipe);
         if (identityOk)
         {
             m_anonymousPipes.Remove(pipe);
             m_fairQueueing.Attach(pipe);
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Indicate the given pipe as being ready for reading by this socket.
 /// </summary>
 /// <param name="pipe">the <c>Pipe</c> that is now becoming available for reading</param>
 protected override void XReadActivated(Pipe pipe)
 {
     m_fairQueueing.Activated(pipe);
 }