anon.proxy
Class AnonProxy.EncapsulatedMixCascadeContainer

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

private class AnonProxy.EncapsulatedMixCascadeContainer
extends AbstractMixCascadeContainer


Field Summary
private  AbstractMixCascadeContainer m_mixCascadeContainer
           
 
Constructor Summary
AnonProxy.EncapsulatedMixCascadeContainer(AbstractMixCascadeContainer a_mixCascadeContainer)
           
 
Method Summary
 void checkTrust(MixCascade a_cascade)
           
 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
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
isTrusted
 

Field Detail

m_mixCascadeContainer

private AbstractMixCascadeContainer m_mixCascadeContainer
Constructor Detail

AnonProxy.EncapsulatedMixCascadeContainer

public AnonProxy.EncapsulatedMixCascadeContainer(AbstractMixCascadeContainer a_mixCascadeContainer)
Method Detail

checkTrust

public void checkTrust(MixCascade a_cascade)
                throws TrustException,
                       java.security.SignatureException
Specified by:
checkTrust in interface ITrustModel
Overrides:
checkTrust in class BasicTrustModel
Throws:
TrustException
java.security.SignatureException

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