C# 클래스 Tornado.netutil.TcpServer

파일 보기 프로젝트 열기: swax/Tornado.Net

공개 프로퍼티들

프로퍼티 타입 설명
io_loop Tornado.ioloop.IOLoop
ssl_options object

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
_handle_connection ( Socket connection, IPEndPoint address ) : void

메소드 상세

TcpServer() 공개 메소드

public TcpServer ( IOLoop io_loop_ = null, object ssl_options_ = null ) : System
io_loop_ Tornado.ioloop.IOLoop
ssl_options_ object
리턴 System

add_accept_handler() 공개 메소드

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

add_sockets() 공개 메소드

public add_sockets ( List sockets ) : void
sockets List
리턴 void

bind_sockets() 공개 메소드

public bind_sockets ( int port, string address = null, AddressFamily family = AddressFamily.Unspecified, int backlog = 128 ) : List
port int
address string
family AddressFamily
backlog int
리턴 List

handle_stream() 공개 메소드

public handle_stream ( IOStream stream, IPEndPoint address ) : void
stream Tornado.iostream.IOStream
address System.Net.IPEndPoint
리턴 void

listen() 공개 메소드

public listen ( int port, string address = "" ) : void
port int
address string
리턴 void

프로퍼티 상세

io_loop 공개적으로 프로퍼티

public IOLoop,Tornado.ioloop io_loop
리턴 Tornado.ioloop.IOLoop

ssl_options 공개적으로 프로퍼티

public object ssl_options
리턴 object