internal SocketCache(SocketHandlerFactory handlerFactory, SocketCachePolicy socketCachePolicy,
                      TimeSpan socketTimeout)
 {
     _handlerFactory    = handlerFactory;
     _socketCachePolicy = socketCachePolicy;
     _socketTimeout     = socketTimeout;
 } // SocketCache
Exemple #2
0
        internal SocketCache(SocketHandlerFactory handlerFactory)
        {
            _handlerFactory = handlerFactory;

            InitializeSocketTimeoutHandler();
        } // SocketCache
Exemple #3
0
        internal SocketCache(SocketHandlerFactory handlerFactory)
        {        
            _handlerFactory = handlerFactory;

            InitializeSocketTimeoutHandler();
        } // SocketCache
 internal SocketCache(SocketHandlerFactory handlerFactory, SocketCachePolicy socketCachePolicy, 
                                                                 TimeSpan socketTimeout)
 {
     _handlerFactory = handlerFactory;
     _socketCachePolicy = socketCachePolicy; 
     _socketTimeout = socketTimeout;
 } // SocketCache