public ConnectionEventExecutor(ConnectionEventHandler outerInstance) { this.outerInstance = outerInstance; }
public DefaultClientConnectionManager(ConnectionSelectStrategy connectionSelectStrategy, ConnectionFactory connectionFactory, ConnectionEventHandler connectionEventHandler, ConnectionEventListener connectionEventListener, GlobalSwitch globalSwitch) : base(connectionSelectStrategy, connectionFactory, connectionEventHandler, connectionEventListener, globalSwitch) { }
/// <summary> /// Construct with parameters. /// </summary> /// <param name="connectionSelectStrategy"> connection selection strategy </param> /// <param name="connectionFactory"> connection factory </param> /// <param name="connectionEventHandler"> connection event handler </param> /// <param name="connectionEventListener"> connection event listener </param> public DefaultConnectionManager(ConnectionSelectStrategy connectionSelectStrategy, ConnectionFactory connectionFactory, ConnectionEventHandler connectionEventHandler, ConnectionEventListener connectionEventListener) : this(connectionSelectStrategy, connectionFactory) { this.connectionEventHandler = connectionEventHandler; this.connectionEventListener = connectionEventListener; }
/// <summary> /// Construct with parameters. /// </summary> /// <param name="connectionSelectStrategy"> connection selection strategy. </param> /// <param name="connectionFactory"> connection factory </param> /// <param name="connectionEventHandler"> connection event handler </param> /// <param name="connectionEventListener"> connection event listener </param> /// <param name="globalSwitch"> global switch </param> public DefaultConnectionManager(ConnectionSelectStrategy connectionSelectStrategy, ConnectionFactory connectionFactory, ConnectionEventHandler connectionEventHandler, ConnectionEventListener connectionEventListener, GlobalSwitch globalSwitch) : this(connectionSelectStrategy, connectionFactory, connectionEventHandler, connectionEventListener) { this.globalSwitch = globalSwitch; }
/// <summary> /// Construct with parameters. /// </summary> /// <param name="connectionFactory"> connection selection strategy </param> /// <param name="addressParser"> address parser </param> /// <param name="connectionEventHandler"> connection event handler </param> public DefaultConnectionManager(ConnectionFactory connectionFactory, RemotingAddressParser addressParser, ConnectionEventHandler connectionEventHandler) : this(new RandomSelectStrategy(null), connectionFactory) { this.addressParser = addressParser; this.connectionEventHandler = connectionEventHandler; }