C# Class Manos.IO.Managed.Socket.SocketStream

Inheritance: Manos.IO.Managed.ManagedStream
Show file Open project: toptensoftware/manos

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
PauseReading ( ) : void
PauseWriting ( ) : void
Read ( Action onData, Action onError, System.Action onClose ) : IDisposable
ResumeReading ( ) : void
ResumeReading ( long forBytes ) : void
ResumeWriting ( ) : void
SocketStream ( Socket parent ) : System
Write ( IEnumerable data ) : void

Protected Methods

Method Description
HandleWrite ( ) : void
WriteSingleBuffer ( ByteBuffer buffer ) : int

Private Methods

Method Description
HandleRead ( ) : void
HandleReadTimerElapsed ( object sender, System e ) : void
HandleWriteTimerElapsed ( object sender, System e ) : void
ReadCallback ( IAsyncResult ar ) : void
WriteCallback ( IAsyncResult ar ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

HandleWrite() protected method

protected HandleWrite ( ) : void
return void

PauseReading() public method

public PauseReading ( ) : void
return void

PauseWriting() public method

public PauseWriting ( ) : void
return void

Read() public method

public Read ( Action onData, Action onError, System.Action onClose ) : IDisposable
onData Action
onError Action
onClose System.Action
return IDisposable

ResumeReading() public method

public ResumeReading ( ) : void
return void

ResumeReading() public method

public ResumeReading ( long forBytes ) : void
forBytes long
return void

ResumeWriting() public method

public ResumeWriting ( ) : void
return void

SocketStream() public method

public SocketStream ( Socket parent ) : System
parent Socket
return System

Write() public method

public Write ( IEnumerable data ) : void
data IEnumerable
return void

WriteSingleBuffer() protected method

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