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

Inheritance: Manos.IO.Libev.EventedStream, ISendfileCapable
Afficher le fichier Open project: toptensoftware/manos

Méthodes publiques

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

Méthodes protégées

Méthode Description
HandleRead ( ) : void
WriteSingleBuffer ( System.ByteBuffer buffer ) : int

Private Methods

Méthode 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 méthode

public Close ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

HandleRead() protected méthode

protected HandleRead ( ) : void
Résultat void

PlainSocketStream() public méthode

public PlainSocketStream ( PlainSocket parent, IntPtr handle ) : System
parent PlainSocket
handle System.IntPtr
Résultat System

SendFile() public méthode

public SendFile ( string file ) : void
file string
Résultat void

WriteSingleBuffer() protected méthode

protected WriteSingleBuffer ( System.ByteBuffer buffer ) : int
buffer System.ByteBuffer
Résultat int