Tornado.ioloop.IOLoop.add_handler C# (CSharp) Method

add_handler() public method

public add_handler ( Socket sock, int fd, int>.Action handler, int events ) : void
sock System.Net.Sockets.Socket
fd int
handler int>.Action
events int
return void
        public void add_handler(Socket sock, int fd, Action<int, int> handler, int events)
        {
            // Registers the given handler to receive the given events for fd.

            _handlers[fd] = handler; //todo stack_context.wrap(handler);
            _impl.register(sock, fd, events | ERROR);
        }