C# Class SharpUV.UvStream

Inheritance: UvHandle
Mostra file Open project: gigi81/sharpuv

Public Methods

Method Description
ReadStart ( Action callback = null ) : void
ReadStop ( ) : void
Shutdown ( Action callback = null ) : void
Write ( byte data, Action callback = null ) : void
Write ( byte data, int offset, int length, Action callback = null ) : void

Protected Methods

Method Description
InitDelegates ( ) : void
OnRead ( UvDataArgs args ) : void
OnShutdown ( UvArgs args ) : void
OnWrite ( UvDataArgs args ) : void

Private Methods

Method Description
OnAlloc ( IntPtr tcp, SizeT size, IntPtr buf ) : void
OnRead ( IntPtr stream, int nread, IntPtr buf ) : void
OnShutdown ( IntPtr req, int status ) : void
OnWrite ( IntPtr requestHandle, int status ) : void
UvStream ( Loop loop, uv_handle_type handleType ) : System

Method Details

InitDelegates() protected method

protected InitDelegates ( ) : void
return void

OnRead() protected method

protected OnRead ( UvDataArgs args ) : void
args UvDataArgs
return void

OnShutdown() protected method

protected OnShutdown ( UvArgs args ) : void
args UvArgs
return void

OnWrite() protected method

protected OnWrite ( UvDataArgs args ) : void
args UvDataArgs
return void

ReadStart() public method

public ReadStart ( Action callback = null ) : void
callback Action
return void

ReadStop() public method

public ReadStop ( ) : void
return void

Shutdown() public method

public Shutdown ( Action callback = null ) : void
callback Action
return void

Write() public method

public Write ( byte data, Action callback = null ) : void
data byte
callback Action
return void

Write() public method

public Write ( byte data, int offset, int length, Action callback = null ) : void
data byte
offset int
length int
callback Action
return void