public class ANONAddress extends AbstractDistributableDatabaseEntry
AbstractDistributableDatabaseEntry.SerialDBEntry, AbstractDistributableDatabaseEntry.Serials
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_ELEMENT_NAME |
XML_ATTR_LAST_UPDATE, XML_ATTR_SERIAL, XML_ATTR_VALID, XML_ATTR_VERIFIED
XML_LAST_UPDATE
FIELD_HTTP_REQUEST_STRING, FIELD_HTTP_SERIALS_REQUEST_STRING
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION
Constructor and Description |
---|
ANONAddress(java.lang.String id,
org.w3c.dom.Element a_elemAnonAddressRootNode) |
ANONAddress(java.lang.String id,
java.lang.String addr,
byte[] arBlindedKey) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress() |
byte[] |
getBlindeyKey() |
java.lang.String |
getId()
Returns a unique ID for a database entry.
|
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance.
|
byte[] |
getPostData()
This returns the data, which are posted to other InfoServices.
|
java.lang.String |
getPostFile()
This returns the filename (InfoService command), where this ANONAddress
information is posted to other InfoServices, It's '/anonaddress/id'.
|
long |
getVersionNumber()
Returns version number which is used to determine the more recent infoservice entry, if two
entries are compared (higher version number -> more recent entry).
|
static java.lang.String |
getXmlElementName() |
org.w3c.dom.Element |
getXmlStructure()
Returns the XML structure of this ANONaddress.
|
getHttpRequestString, getHttpSerialsRequestString, getPostEncoding, toXmlElement
deletePersistence, getCreationTime, getExpireTime, isNewerThan, isPersistanceDeletionAllowed, isUserDefined, resetCreationTime, setExpireTime
public static final java.lang.String XML_ELEMENT_NAME
public ANONAddress(java.lang.String id, org.w3c.dom.Element a_elemAnonAddressRootNode) throws java.lang.Exception
java.lang.Exception
public ANONAddress(java.lang.String id, java.lang.String addr, byte[] arBlindedKey)
public java.lang.String getPostFile()
public org.w3c.dom.Element getXmlStructure()
getXmlStructure
in class AbstractDistributableDatabaseEntry
public byte[] getPostData()
AbstractDistributableDatabaseEntry
getPostData
in interface IDistributable
getPostData
in class AbstractDistributableDatabaseEntry
public java.lang.String getId()
AbstractDatabaseEntry
getId
in interface IDistributable
getId
in class AbstractDatabaseEntry
public long getLastUpdate()
AbstractDatabaseEntry
getLastUpdate
in class AbstractDatabaseEntry
public long getVersionNumber()
AbstractDatabaseEntry
getVersionNumber
in class AbstractDatabaseEntry
public static java.lang.String getXmlElementName()
public java.lang.String getAddress()
public byte[] getBlindeyKey()
Copyright © 2023. All rights reserved.