org.eclipse.net4j.signal.failover
Class RetryFailOverStrategy

java.lang.Object
  extended by org.eclipse.net4j.util.event.Notifier
      extended by org.eclipse.net4j.signal.failover.FailOverStrategy
          extended by org.eclipse.net4j.signal.failover.RetryFailOverStrategy
All Implemented Interfaces:
IFailOverStrategy, INotifier, INotifier.Introspection

public class RetryFailOverStrategy
extends FailOverStrategy


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.Introspection
 
Field Summary
 
Fields inherited from interface org.eclipse.net4j.signal.failover.IFailOverStrategy
NOOP
 
Constructor Summary
RetryFailOverStrategy(IConnector connector)
           
 
Method Summary
 IConnector getConnector()
           
protected  IConnector getNewConnector(IChannel oldChannel)
          Should be overridden to provide a fail-over IConnector.
 
Methods inherited from class org.eclipse.net4j.signal.failover.FailOverStrategy
failOver, send, send
 
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, fireEvent, getListeners, hasListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, removeListener
 

Constructor Detail

RetryFailOverStrategy

public RetryFailOverStrategy(IConnector connector)
Method Detail

getConnector

public IConnector getConnector()

getNewConnector

protected IConnector getNewConnector(IChannel oldChannel)
Description copied from class: FailOverStrategy
Should be overridden to provide a fail-over IConnector. The oldChannel can be used as a hint.

Specified by:
getNewConnector in class FailOverStrategy

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.