public TempRunnable(ConnectionEventListener eventListener, ConnectionEventType type, string remoteAddress, Connection conn) { this.eventListener = eventListener; this.type = type; this.remoteAddress = remoteAddress; this.conn = conn; }
/// <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; }
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; }