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
Показать файл Открыть проект

Открытые методы

Метод Описание
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