public TempRunnable(ConnectionEventListener eventListener, ConnectionEventType type, string remoteAddress, Connection conn)
 {
     this.eventListener = eventListener;
     this.type          = type;
     this.remoteAddress = remoteAddress;
     this.conn          = conn;
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 public DefaultClientConnectionManager(ConnectionSelectStrategy connectionSelectStrategy, ConnectionFactory connectionFactory, ConnectionEventHandler connectionEventHandler, ConnectionEventListener connectionEventListener, GlobalSwitch globalSwitch) : base(connectionSelectStrategy, connectionFactory, connectionEventHandler, connectionEventListener, globalSwitch)
 {
 }
Exemplo n.º 4
0
 /// <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;
 }