public override bool IsCompatible(IConnectionOrientedTransportChannelFactorySettings settings) { ITcpChannelFactorySettings tcpSettings = (ITcpChannelFactorySettings)settings; return( (LeaseTimeout == tcpSettings.LeaseTimeout) && base.IsCompatible(settings) ); }
protected override ConnectionPool CreatePool(IConnectionOrientedTransportChannelFactorySettings settings) { ITcpChannelFactorySettings tcpSettings = (ITcpChannelFactorySettings)settings; return(new TcpConnectionPool(tcpSettings)); }
public TcpConnectionPool(ITcpChannelFactorySettings settings) : base(settings, settings.LeaseTimeout) { }
public TcpConnectionPool(ITcpChannelFactorySettings settings) : base(settings, settings.LeaseTimeout) { }