delEvents() public méthode

public delEvents ( Ros_CSharp.CustomSocket.Socket s, int events ) : bool
s Ros_CSharp.CustomSocket.Socket
events int
Résultat bool
Exemple #1
0
 public void disableRead()
 {
     if (sock == null)
     {
         return;
     }
     if (!sock.Connected)
     {
         close();
     }
     lock (close_mutex)
     {
         if (closed)
         {
             return;
         }
     }
     if (expecting_read && poll_set != null)
     {
         //Console.WriteLine("DISABLE READ:  " + Topic + "(" + sock.FD + ")");
         poll_set.delEvents(sock, POLLIN);
         expecting_read = false;
     }
 }