public class IPOutgoingDiscoveryInfo extends OutgoingDiscoveryInfo implements IPDiscoveryDomainChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected UDPClient |
communicationProtocolOverUdpClient |
protected DatagramSocketTimer |
datagramSocketTimer |
protected IPDiscoveryDomain |
discoveryDomain |
protected boolean |
includeXAddrsInHello |
protected ArrayList |
outgoingDiscoveryInfoListenerList |
protected IPAddress |
receivingAddress |
protected int |
receivingPort |
comManId, discoveryMode, isUsable, key, localCredentialInfo, staticDiscoveryProxies| Constructor and Description |
|---|
IPOutgoingDiscoveryInfo() |
IPOutgoingDiscoveryInfo(java.lang.String comManId,
IPDiscoveryDomain discoveryDomain,
boolean includeXAddrsInHello,
CredentialInfo localCredentialInfo) |
addStaticDiscoveryProxy, getCommunicationManagerId, getDiscoveryMode, getKey, getLocalCredentialInfo, getStaticDiscoveryProxies, isUsable, removeDiscoveryProxy, setDiscoveryMode, setLocalCredentialInfoprotected IPDiscoveryDomain discoveryDomain
protected boolean includeXAddrsInHello
protected IPAddress receivingAddress
protected int receivingPort
protected UDPClient communicationProtocolOverUdpClient
protected DatagramSocketTimer datagramSocketTimer
protected ArrayList outgoingDiscoveryInfoListenerList
public IPOutgoingDiscoveryInfo()
public IPOutgoingDiscoveryInfo(java.lang.String comManId,
IPDiscoveryDomain discoveryDomain,
boolean includeXAddrsInHello,
CredentialInfo localCredentialInfo)
public DiscoveryDomain getDiscoveryDomain()
getDiscoveryDomain in class OutgoingDiscoveryInfopublic boolean isIncludeXAddrsInHello()
public void setIncludeXAddrsInHello(boolean includeXAddrsInHello)
public IPAddress getAddress()
public int getPort()
public NetworkInterface getIFace()
public UDPClient getCommunicationProtocolOverUDPClient()
public void setCommunicationProtocolOverUDPClient(UDPClient client)
client - the client to setpublic DatagramSocketTimer getDatagramSocketTimer()
public void setDatagramSocketTimer(DatagramSocketTimer datagramSocketTimer)
public IPAddress getReceivingAddress()
public void setReceivingAddress(IPAddress receivingAddress)
receivingAddress - the receivingAddress to setpublic int getReceivingPort()
public void setReceivingPort(int receivingPort)
receivingPort - the receivingPort to setpublic void domainUp(DiscoveryDomain dom)
IPDiscoveryDomainChangeListenerDiscoveryDomain is up.domainUp in interface IPDiscoveryDomainChangeListenerpublic void domainDown(DiscoveryDomain dom)
IPDiscoveryDomainChangeListenerDiscoveryDomain is down.domainDown in interface IPDiscoveryDomainChangeListenerpublic void addOutgoingDiscoveryInfoListener(OutgoingDiscoveryInfoListener listener)
OutgoingDiscoveryInfoOutgoingDiscoveryInfoListener to this OutgoingDiscoveryInfo. Will be
announced if any change are performed on the OutgoingDiscoveryInfo.addOutgoingDiscoveryInfoListener in class OutgoingDiscoveryInfopublic void removeOutgoingDiscoveryInfoListener(OutgoingDiscoveryInfoListener listener)
OutgoingDiscoveryInfoOutgoingDiscoveryInfoListener from the OutgoingDiscoveryInfo.removeOutgoingDiscoveryInfoListener in class OutgoingDiscoveryInfopublic void saveToMemento(Memento m)
saveToMemento in interface MementoSupportpublic void readFromMemento(Memento m) throws java.io.IOException
readFromMemento in interface MementoSupportjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object