anon.proxy
Class AnonProxy.DummyMixCascadeContainer

java.lang.Object
  extended by java.util.Observable
      extended by anon.client.BasicTrustModel
          extended by anon.infoservice.AbstractMixCascadeContainer
              extended by anon.proxy.AnonProxy.DummyMixCascadeContainer
All Implemented Interfaces:
ITrustModel, IServiceContainer
Enclosing class:
AnonProxy

private class AnonProxy.DummyMixCascadeContainer
extends AbstractMixCascadeContainer


Constructor Summary
AnonProxy.DummyMixCascadeContainer()
           
 
Method Summary
 MixCascade getCurrentCascade()
          Returns the last return value of getNextCascade().
 MixCascade getNextCascade()
          Must return a MixCascade and never null.
 boolean isReconnectedAutomatically()
           
 boolean isServiceAutoSwitched()
           
 void keepCurrentService(boolean a_bKeepCurrentCascade)
          Optional method that should allow to return the last MixCascade (Service) that was returned by getNextService() also the next time this method is called.
 
Methods inherited from class anon.infoservice.AbstractMixCascadeContainer
getCurrentService
 
Methods inherited from class anon.client.BasicTrustModel
checkTrust, isTrusted, isTrusted
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface anon.client.ITrustModel
checkTrust, isTrusted
 

Constructor Detail

AnonProxy.DummyMixCascadeContainer

public AnonProxy.DummyMixCascadeContainer()
Method Detail

getNextCascade

public MixCascade getNextCascade()
Description copied from class: AbstractMixCascadeContainer
Must return a MixCascade and never null. The returned MixCascade may change with every call of this method.

Specified by:
getNextCascade in class AbstractMixCascadeContainer
Returns:
a MixCascade and never null

getCurrentCascade

public MixCascade getCurrentCascade()
Description copied from class: AbstractMixCascadeContainer
Returns the last return value of getNextCascade().

Specified by:
getCurrentCascade in class AbstractMixCascadeContainer
Returns:
the last return value of getNextCascade() (may be null if no call has been done yet)

keepCurrentService

public void keepCurrentService(boolean a_bKeepCurrentCascade)
Description copied from class: AbstractMixCascadeContainer
Optional method that should allow to return the last MixCascade (Service) that was returned by getNextService() also the next time this method is called.

Specified by:
keepCurrentService in interface IServiceContainer
Specified by:
keepCurrentService in class AbstractMixCascadeContainer
Parameters:
a_bKeepCurrentCascade - allows or dissallows to keep the current cascade for the next call

isServiceAutoSwitched

public boolean isServiceAutoSwitched()
Specified by:
isServiceAutoSwitched in interface IServiceContainer
Specified by:
isServiceAutoSwitched in class AbstractMixCascadeContainer

isReconnectedAutomatically

public boolean isReconnectedAutomatically()
Specified by:
isReconnectedAutomatically in interface IServiceContainer
Specified by:
isReconnectedAutomatically in class AbstractMixCascadeContainer