コード例 #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);
         }
     }
 }
コード例 #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);
 }