public ConnectionEventExecutor(ConnectionEventHandler outerInstance)
 {
     this.outerInstance = outerInstance;
 }
Esempio n. 2
0
 public DefaultClientConnectionManager(ConnectionSelectStrategy connectionSelectStrategy, ConnectionFactory connectionFactory, ConnectionEventHandler connectionEventHandler, ConnectionEventListener connectionEventListener, GlobalSwitch globalSwitch) : base(connectionSelectStrategy, connectionFactory, connectionEventHandler, connectionEventListener, globalSwitch)
 {
 }
Esempio n. 3
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;
 }
Esempio 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>
 /// <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;
 }
Esempio n. 5
0
 /// <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;
 }