Exemplo n.º 1
0
 public IdleTimeoutEndpointConnectionPool(IdlingCommunicationPool <TKey, TItem> parent, TKey key)
     : base(parent, key)
 {
     this.connections = new IdleTimeoutIdleConnectionPool(this, this.ThisLock);
 }
Exemplo n.º 2
0
                static void OnIdle(object state)
                {
                    IdleTimeoutIdleConnectionPool pool = (IdleTimeoutIdleConnectionPool)state;

                    pool.OnIdle();
                }