C# Class Manos.IO.Libev.PlainSocket.PlainSocketStream

Inheritance: Manos.IO.Libev.EventedStream, ISendfileCapable
ファイルを表示 Open project: toptensoftware/manos

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
PlainSocketStream ( PlainSocket parent, IntPtr handle ) : System
SendFile ( string file ) : void

Protected Methods

Method Description
HandleRead ( ) : void
WriteSingleBuffer ( System.ByteBuffer buffer ) : int

Private Methods

Method Description
HandleAccept ( ) : void
HandleData ( ) : void
manos_socket_accept_many ( int fd, Manos.IO.Libev.SocketInfo infos, int max, int &err ) : int
manos_socket_close ( int fd, int &err ) : int
manos_socket_receive ( int fd, byte buffer, int max, int &err ) : int
manos_socket_send ( int fd, byte buffer, int offset, int len, int &err ) : int

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

HandleRead() protected method

protected HandleRead ( ) : void
return void

PlainSocketStream() public method

public PlainSocketStream ( PlainSocket parent, IntPtr handle ) : System
parent PlainSocket
handle System.IntPtr
return System

SendFile() public method

public SendFile ( string file ) : void
file string
return void

WriteSingleBuffer() protected method

protected WriteSingleBuffer ( System.ByteBuffer buffer ) : int
buffer System.ByteBuffer
return int