C# 클래스 Enyim.Caching.Memcached.Protocol.Binary.BinaryNode

A node which is used by the BinaryPool. It implements the binary protocol's SASL auth. mechanism.
상속: MemcachedNode
파일 보기 프로젝트 열기: couchbaselabs/EnyimMemcached

공개 메소드들

메소드 설명
BinaryNode ( IPEndPoint endpoint, ISocketPoolConfiguration config, ISaslAuthenticationProvider authenticationProvider ) : System

보호된 메소드들

메소드 설명
CreateSocket ( IPEndPoint endpoint, System.TimeSpan connectionTimeout, System.TimeSpan receiveTimeout ) : PooledSocket

Creates a new socket then authenticates it before putting it into the pool.

비공개 메소드들

메소드 설명
Auth ( PooledSocket socket ) : bool

Implements memcached's SASL auth sequence. (See the protocol docs for more details.)

메소드 상세

BinaryNode() 공개 메소드

public BinaryNode ( IPEndPoint endpoint, ISocketPoolConfiguration config, ISaslAuthenticationProvider authenticationProvider ) : System
endpoint System.Net.IPEndPoint
config ISocketPoolConfiguration
authenticationProvider ISaslAuthenticationProvider
리턴 System

CreateSocket() 보호된 메소드

Creates a new socket then authenticates it before putting it into the pool.
protected CreateSocket ( IPEndPoint endpoint, System.TimeSpan connectionTimeout, System.TimeSpan receiveTimeout ) : PooledSocket
endpoint System.Net.IPEndPoint
connectionTimeout System.TimeSpan
receiveTimeout System.TimeSpan
리턴 PooledSocket