public abstract class AbstractMixCascadeContainer extends java.util.Observable implements IServiceContainer
Constructor and Description |
---|
AbstractMixCascadeContainer() |
Modifier and Type | Method and Description |
---|---|
abstract MixCascade |
getCurrentCascade()
Returns the last return value of getNextCascade().
|
AnonServerDescription |
getCurrentService() |
abstract MixCascade |
getNextCascade()
Must return a MixCascade and never null.
|
abstract MixCascade |
getNextRandomCascade() |
abstract ITrustModel |
getTrustModel() |
abstract boolean |
isReconnectedAutomatically()
Returns whether the
MixCascade inside this container reconnects
automatically or not. |
abstract boolean |
isServiceAutoSwitched() |
abstract void |
keepCurrentService(boolean a_bKeepCurrentService)
Optional method that should allow to return the last MixCascade (Service) that was returned
by getNextService() also the next time this method is called.
|
void |
reset() |
public void reset()
reset
in interface IServiceContainer
public abstract MixCascade getNextRandomCascade()
public abstract MixCascade getNextCascade()
public abstract MixCascade getCurrentCascade()
public final AnonServerDescription getCurrentService()
public abstract void keepCurrentService(boolean a_bKeepCurrentService)
keepCurrentService
in interface IServiceContainer
a_bKeepCurrentService
- allows or disallows to keep the current cascade for the next callpublic abstract boolean isServiceAutoSwitched()
isServiceAutoSwitched
in interface IServiceContainer
public abstract boolean isReconnectedAutomatically()
MixCascade
inside this container reconnects
automatically or not.isReconnectedAutomatically
in interface IServiceContainer
public abstract ITrustModel getTrustModel()
getTrustModel
in interface IServiceContainer
Copyright © 2023. All rights reserved.