Exemple #1
0
 public SocketAsyncStrategy(IConnectionPool connectionPool)
     : this(connectionPool,
            new SocketAsyncPool(connectionPool, SocketAsyncFactory.GetSocketAsyncFunc()),
            new PlainTextMechanism("default", string.Empty, new AutoByteConverter()),
            new AutoByteConverter())
 {
 }
Exemple #2
0
 public SocketAsyncStrategy(IConnectionPool connectionPool, ISaslMechanism saslMechanism)
     : this(connectionPool, new SocketAsyncPool(connectionPool, SocketAsyncFactory.GetSocketAsyncFunc()), saslMechanism, new AutoByteConverter())
 {
 }