C# Class LineBasedChannel, code

Show file Open project: shendongnian/code

Public Methods

Method Description
LineBasedChannel ( Socket, socket )
OnRead ( IAsyncResult res ) : void
Start ( ) : void

Protected Methods

Method Description
OnReceivedLine ( string line ) : void

Method Details

LineBasedChannel() public method

public LineBasedChannel ( Socket, socket )
socket Socket,

OnRead() public method

public OnRead ( IAsyncResult res ) : void
res IAsyncResult
return void

OnReceivedLine() protected abstract method

protected abstract OnReceivedLine ( string line ) : void
line string
return void

Start() public method

public Start ( ) : void
return void