anon.infoservice
Class AutoSwitchedMixCascade

java.lang.Object
  extended by anon.infoservice.AbstractDatabaseEntry
      extended by anon.infoservice.AbstractDistributableDatabaseEntry
          extended by anon.infoservice.AbstractDistributableCertifiedDatabaseEntry
              extended by anon.infoservice.MixCascade
                  extended by anon.infoservice.AutoSwitchedMixCascade
All Implemented Interfaces:
AnonServerDescription, IVerifyable, IDistributable, IXMLEncodable

public class AutoSwitchedMixCascade
extends MixCascade

Stores a cascade that may be automatically switched to, e.g. in case of a connection error.

Author:
Rolf Wendolsky

Nested Class Summary
 
Nested classes/interfaces inherited from class anon.infoservice.AbstractDistributableDatabaseEntry
AbstractDistributableDatabaseEntry.SerialDBEntry, AbstractDistributableDatabaseEntry.Serials
 
Field Summary
static java.lang.String XML_ELEMENT_CONTAINER_NAME
           
 
Fields inherited from class anon.infoservice.MixCascade
SUPPORTED_PAYMENT_PROTOCOL_VERSION, XML_ELEMENT_NAME
 
Fields inherited from class anon.infoservice.AbstractDistributableDatabaseEntry
XML_ATTR_LAST_UPDATE, XML_ATTR_SERIAL, XML_ATTR_VALID, XML_ATTR_VERIFIED
 
Fields inherited from class anon.infoservice.AbstractDatabaseEntry
XML_LAST_UPDATE
 
Fields inherited from interface anon.util.IXMLEncodable
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_VERSION
 
Constructor Summary
AutoSwitchedMixCascade(org.w3c.dom.Element a_mixCascadeNode, long a_expireTime)
           
 
Method Summary
 
Methods inherited from class anon.infoservice.MixCascade
checkId, compareMixIDs, equals, fetchCurrentStatus, getCertificate, getCertPath, getCompressedData, getCurrentStatus, getId, getLastUpdate, getListenerInterface, getMixId, getMixIds, getMixIDsAsString, getMixInfo, getMixInfo, getMixProtocolVersion, getName, getNumberOfListenerInterfaces, getNumberOfMixes, getPaymentProtocolVersion, getPostData, getPostEncoding, getPostFile, getVersionNumber, getXmlStructure, hashCode, isFromCascade, isPayment, isShownAsTrusted, isUserDefined, isValid, isVerified, setUserDefined, showAsTrusted, toString
 
Methods inherited from class anon.infoservice.AbstractDistributableDatabaseEntry
toXmlElement
 
Methods inherited from class anon.infoservice.AbstractDatabaseEntry
getCreationTime, getExpireTime, isNewerThan, resetCreationTime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_ELEMENT_CONTAINER_NAME

public static final java.lang.String XML_ELEMENT_CONTAINER_NAME
See Also:
Constant Field Values
Constructor Detail

AutoSwitchedMixCascade

public AutoSwitchedMixCascade(org.w3c.dom.Element a_mixCascadeNode,
                              long a_expireTime)
                       throws XMLParseException
Throws:
XMLParseException