C# Class NMemcached.ClientConnection

Inheritance: IDisposable
Exibir arquivo Open project: hibernating-rhinos/NMemcached Class Usage Examples

Public Methods

Method Description
ClientConnection ( TcpClient client, Stream stream, System.Action onDispose ) : System
Dispose ( ) : void
ProcessNextCommand ( ) : void

Private Methods

Method Description
ExecuteCommand ( string commandLine, Exception e ) : void
HandleDisconnectionExceptions ( System.Action action ) : void
SendError ( ) : void
SendServerError ( Exception e ) : void

Method Details

ClientConnection() public method

public ClientConnection ( TcpClient client, Stream stream, System.Action onDispose ) : System
client System.Net.Sockets.TcpClient
stream Stream
onDispose System.Action
return System

Dispose() public method

public Dispose ( ) : void
return void

ProcessNextCommand() public method

public ProcessNextCommand ( ) : void
return void