public class DiscoveryData extends UnknownDataContainer
| Modifier and Type | Field and Description |
|---|---|
static long |
UNKNOWN_METADATA_VERSION |
unknownAttributes, unknownElements_QN_2_List| Constructor and Description |
|---|
DiscoveryData() |
DiscoveryData(DiscoveryData data)
Copy Constructor.
|
DiscoveryData(EndpointReference endpointReference,
long metadataVersion,
ProtocolInfo preferedProtocolInfo) |
DiscoveryData(EndpointReference endpointReference,
long metadataVersion,
XAddressInfoSet xaddresses,
ProtocolInfo preferedProtocolInfo) |
DiscoveryData(EndpointReference endpointReference,
long metadataVersion,
XAddressInfoSet xaddresses,
XAddressInfoSet discoveryXaddresses,
ProtocolInfo preferedProtocolInfo) |
DiscoveryData(EndpointReference endpointReference,
ProtocolInfo preferedProtocolInfo) |
addUnknownAttribute, addUnknownElement, getUnknownAttribute, getUnknownAttributes, getUnknownElement, getUnknownElements, getUnknownElements, setUnknownAttributes, setUnknownElementspublic static final long UNKNOWN_METADATA_VERSION
public DiscoveryData()
public DiscoveryData(EndpointReference endpointReference, ProtocolInfo preferedProtocolInfo)
endpointReference - public DiscoveryData(EndpointReference endpointReference, long metadataVersion, ProtocolInfo preferedProtocolInfo)
endpointReference - metadataVersion - public DiscoveryData(EndpointReference endpointReference, long metadataVersion, XAddressInfoSet xaddresses, ProtocolInfo preferedProtocolInfo)
endpointReference - metadataVersion - public DiscoveryData(EndpointReference endpointReference, long metadataVersion, XAddressInfoSet xaddresses, XAddressInfoSet discoveryXaddresses, ProtocolInfo preferedProtocolInfo)
endpointReference - metadataVersion - public DiscoveryData(DiscoveryData data)
public boolean updateFromBye(ConnectionInfo info, XAddressInfo[] oldXAddrIfRemoved)
info - public boolean update(DiscoveryData newData)
newData - metadata to update this metadata.public java.lang.String toString()
toString in class UnknownDataContainerpublic EndpointReference getEndpointReference()
public void setEndpointReference(EndpointReference endpointReference)
endpointReference - the endpointReference to setpublic long getMetadataVersion()
public void setMetadataVersion(long metadataVersion)
metadataVersion - the metadataVersion to setpublic ScopeSet getScopes()
public void setScopes(ScopeSet scopes)
scopes - the scopes to setpublic QNameSet getTypes()
public void setTypes(QNameSet newTypes)
newTypes - the types to setpublic XAddressInfoSet getXAddressInfoSet()
XAddressInfoSet.XAddressInfoSet.public void setXAddressInfoSet(XAddressInfoSet addrs)
addrs - the XAddressInfo to set.public XAddressInfoSet getDiscoveryXAddressInfoSet()
XAddressInfoSet.XAddressInfoSet.public void setDiscoveryXAddressInfoSet(XAddressInfoSet discoveryAddrs)
discoveryAddrs - the XAddressInfoSet to set.public void addTypes(QNameSet newTypes)
newTypes - the types to setpublic void addType(QName type)
type - the types to setpublic boolean removeType(QName type)
public boolean isDiscoveryProxy()
public void setDiscoveryProxy(boolean isSenderDiscoveryProxy)
public ProtocolInfo getPreferedProtocolInfo()
public void setPreferedProtocolInfo(ProtocolInfo preferedProtocolInfo)