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_VERIFIEDXML_LAST_UPDATEFIELD_HTTP_REQUEST_STRING, FIELD_HTTP_SERIALS_REQUEST_STRINGFIELD_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, toXmlElementdeletePersistence, getCreationTime, getExpireTime, isNewerThan, isPersistanceDeletionAllowed, isUserDefined, resetCreationTime, setExpireTimepublic 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.Exceptionpublic 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 AbstractDistributableDatabaseEntrypublic byte[] getPostData()
AbstractDistributableDatabaseEntrygetPostData in interface IDistributablegetPostData in class AbstractDistributableDatabaseEntrypublic java.lang.String getId()
AbstractDatabaseEntrygetId in interface IDistributablegetId in class AbstractDatabaseEntrypublic long getLastUpdate()
AbstractDatabaseEntrygetLastUpdate in class AbstractDatabaseEntrypublic long getVersionNumber()
AbstractDatabaseEntrygetVersionNumber in class AbstractDatabaseEntrypublic static java.lang.String getXmlElementName()
public java.lang.String getAddress()
public byte[] getBlindeyKey()
Copyright © 2023. All rights reserved.