C# Class Tornado.ioloop.IOLoop

Mostra file Open project: swax/Tornado.Net Class Usage Examples

Public Properties

Property Type Description
callbacks List

Public Methods

Method Description
IOLoop ( ISocketImpl impl = null ) : System
add_callback ( System.Action callback ) : void
add_handler ( Socket sock, int fd, int>.Action handler, int events ) : void
initialized ( ) : bool
install ( ) : void
instance ( ) : IOLoop
remove_handler ( int fd ) : void
start ( ) : void
update_handler ( Socket sock, int fd, int events ) : void

Private Methods

Method Description
_run_callback ( System.Action callback ) : void
handle_callback_exception ( System.Action callback, Exception ex ) : void

Method Details

IOLoop() public method

public IOLoop ( ISocketImpl impl = null ) : System
impl ISocketImpl
return System

add_callback() public method

public add_callback ( System.Action callback ) : void
callback System.Action
return void

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

initialized() public static method

public static initialized ( ) : bool
return bool

install() public method

public install ( ) : void
return void

instance() public static method

public static instance ( ) : IOLoop
return IOLoop

remove_handler() public method

public remove_handler ( int fd ) : void
fd int
return void

start() public method

public start ( ) : void
return void

update_handler() public method

public update_handler ( Socket sock, int fd, int events ) : void
sock System.Net.Sockets.Socket
fd int
events int
return void

Property Details

callbacks public_oe property

public List callbacks
return List