C# 클래스 Tornado.iostream.IOStream

파일 보기 프로젝트 열기: swax/Tornado.Net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
error object
io_loop Tornado.ioloop.IOLoop
max_buffer_size int
read_chunk_size int
socket System.Net.Sockets.Socket

공개 메소드들

메소드 설명
IOStream ( Socket socket_, IOLoop io_loop_, int max_buffer_size_ = 104857600, int read_chunk_size_ = 4096 ) : System
_read_from_buffer ( ) : bool
_set_read_callback ( Action callback ) : void
_try_inline_read ( ) : void
close ( ) : void
closed ( ) : bool
read_bytes ( int num_bytes, Action callback, Action streaming_callback = null ) : void
read_until ( byte delimiter, Action callback ) : void
read_until_regex ( string regex, Action callback ) : void
reading ( ) : bool
set_close_callback ( System.Action callback ) : void
write ( byte data, System.Action callback = null ) : void
writing ( ) : bool

비공개 메소드들

메소드 설명
_add_io_state ( int state ) : void
_check_closed ( ) : void
_consume ( int loc ) : byte[]
_double_prefix ( LinkedList deque ) : void
_handle_connect ( ) : void
_handle_events ( int fd, int events ) : void
_handle_read ( ) : void
_handle_write ( ) : void
_maybe_add_error_listener ( ) : void
_maybe_run_close_callback ( ) : void
_merge_prefix ( LinkedList deque, int size ) : void
_read_from_socket ( ) : byte[]
_read_to_buffer ( ) : int
_run_callback ( System.Action callback ) : void

메소드 상세

IOStream() 공개 메소드

public IOStream ( Socket socket_, IOLoop io_loop_, int max_buffer_size_ = 104857600, int read_chunk_size_ = 4096 ) : System
socket_ System.Net.Sockets.Socket
io_loop_ Tornado.ioloop.IOLoop
max_buffer_size_ int
read_chunk_size_ int
리턴 System

_read_from_buffer() 공개 메소드

public _read_from_buffer ( ) : bool
리턴 bool

_set_read_callback() 공개 메소드

public _set_read_callback ( Action callback ) : void
callback Action
리턴 void

_try_inline_read() 공개 메소드

public _try_inline_read ( ) : void
리턴 void

close() 공개 메소드

public close ( ) : void
리턴 void

closed() 공개 메소드

public closed ( ) : bool
리턴 bool

read_bytes() 공개 메소드

public read_bytes ( int num_bytes, Action callback, Action streaming_callback = null ) : void
num_bytes int
callback Action
streaming_callback Action
리턴 void

read_until() 공개 메소드

public read_until ( byte delimiter, Action callback ) : void
delimiter byte
callback Action
리턴 void

read_until_regex() 공개 메소드

public read_until_regex ( string regex, Action callback ) : void
regex string
callback Action
리턴 void

reading() 공개 메소드

public reading ( ) : bool
리턴 bool

set_close_callback() 공개 메소드

public set_close_callback ( System.Action callback ) : void
callback System.Action
리턴 void

write() 공개 메소드

public write ( byte data, System.Action callback = null ) : void
data byte
callback System.Action
리턴 void

writing() 공개 메소드

public writing ( ) : bool
리턴 bool

프로퍼티 상세

error 공개적으로 프로퍼티

public object error
리턴 object

io_loop 공개적으로 프로퍼티

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

max_buffer_size 공개적으로 프로퍼티

public int max_buffer_size
리턴 int

read_chunk_size 공개적으로 프로퍼티

public int read_chunk_size
리턴 int

socket 공개적으로 프로퍼티

public Socket,System.Net.Sockets socket
리턴 System.Net.Sockets.Socket