Esempio n. 1
0
 public SocketAsyncStrategy(IConnectionPool connectionPool, SocketAsyncPool socketAsyncPool, ISaslMechanism saslMechanism, IByteConverter converter)
 {
     _connectionPool           = connectionPool;
     _socketAsyncPool          = socketAsyncPool;
     _saslMechanism            = saslMechanism;
     _saslMechanism.IOStrategy = this;
     _converter = converter;
 }
Esempio n. 2
0
 public SocketAsyncStrategy(IConnectionPool connectionPool, SocketAsyncPool socketAsyncPool)
 {
     _connectionPool  = connectionPool;
     _socketAsyncPool = socketAsyncPool;
 }