C# Class Tornado.netutil.TcpServer

Afficher le fichier Open project: swax/Tornado.Net

Méthodes publiques

Свойство Type Description
io_loop Tornado.ioloop.IOLoop
ssl_options object

Méthodes publiques

Méthode Description
TcpServer ( IOLoop io_loop_ = null, object ssl_options_ = null ) : System
add_accept_handler ( Socket sock, IPEndPoint>.Action callback, IOLoop io_loop = null ) : void
add_sockets ( List sockets ) : void
bind_sockets ( int port, string address = null, AddressFamily family = AddressFamily.Unspecified, int backlog = 128 ) : List
handle_stream ( IOStream stream, IPEndPoint address ) : void
listen ( int port, string address = "" ) : void

Private Methods

Méthode Description
_handle_connection ( Socket connection, IPEndPoint address ) : void

Method Details

TcpServer() public méthode

public TcpServer ( IOLoop io_loop_ = null, object ssl_options_ = null ) : System
io_loop_ Tornado.ioloop.IOLoop
ssl_options_ object
Résultat System

add_accept_handler() public méthode

public add_accept_handler ( Socket sock, IPEndPoint>.Action callback, IOLoop io_loop = null ) : void
sock Socket
callback IPEndPoint>.Action
io_loop Tornado.ioloop.IOLoop
Résultat void

add_sockets() public méthode

public add_sockets ( List sockets ) : void
sockets List
Résultat void

bind_sockets() public méthode

public bind_sockets ( int port, string address = null, AddressFamily family = AddressFamily.Unspecified, int backlog = 128 ) : List
port int
address string
family AddressFamily
backlog int
Résultat List

handle_stream() public méthode

public handle_stream ( IOStream stream, IPEndPoint address ) : void
stream Tornado.iostream.IOStream
address System.Net.IPEndPoint
Résultat void

listen() public méthode

public listen ( int port, string address = "" ) : void
port int
address string
Résultat void

Property Details

io_loop public_oe property

public IOLoop,Tornado.ioloop io_loop
Résultat Tornado.ioloop.IOLoop

ssl_options public_oe property

public object ssl_options
Résultat object