public class DiscoveryInfo extends Object
Modifier and Type | Field and Description |
---|---|
IComponentIdentifier |
cid
The component identifier of the remote component.
|
long |
delay
The current send delay time.
|
Map<String,String> |
properties
Platform properties (if any).
|
IFuture<IComponentIdentifier> |
proxy
Component id of local proxy (if any).
|
boolean |
remoteexcluded
Flag indicating that the remote component has excluded our local component.
|
long |
time
Time when last awareness info was received.
|
Constructor and Description |
---|
DiscoveryInfo()
Create a new discovery info.
|
DiscoveryInfo(IComponentIdentifier cid,
IFuture<IComponentIdentifier> proxy,
long time,
long delay,
boolean remoteexcluded,
Map<String,String> properties)
Create a new discovery info.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Test for equality.
|
IComponentIdentifier |
getComponentIdentifier()
Get the component identifier.
|
long |
getDelay()
Get the delay.
|
Map<String,String> |
getProperties()
Get the properties.
|
IFuture<IComponentIdentifier> |
getProxy()
Get the proxy.
|
long |
getTime()
Get the time.
|
int |
hashCode()
Get the hashcode.
|
boolean |
isAlive()
Check, if the platform is still alive.
|
boolean |
isRemoteExcluded()
Is the local platform excluded by the remote platform?
|
void |
setComponentIdentifier(IComponentIdentifier componentIdentifier)
Set the component identifier.
|
void |
setDelay(long delay)
Set the delay.
|
void |
setProperties(Map<String,String> props)
Set the properties.
|
void |
setProxy(IFuture<IComponentIdentifier> proxy)
Set the proxy.
|
void |
setRemoteExcluded(boolean remoteexcluded)
Set the remote excluded flag.
|
void |
setTime(long time)
Set the time.
|
String |
toString()
Get the string representation.
|
public IComponentIdentifier cid
public IFuture<IComponentIdentifier> proxy
public long time
public long delay
public boolean remoteexcluded
public DiscoveryInfo()
public DiscoveryInfo(IComponentIdentifier cid, IFuture<IComponentIdentifier> proxy, long time, long delay, boolean remoteexcluded, Map<String,String> properties)
public IComponentIdentifier getComponentIdentifier()
public void setComponentIdentifier(IComponentIdentifier componentIdentifier)
component
- identifier The component identifier to set.public IFuture<IComponentIdentifier> getProxy()
public void setProxy(IFuture<IComponentIdentifier> proxy)
proxy
- The proxy to set.public long getTime()
public void setTime(long time)
time
- The time to set.public long getDelay()
public void setDelay(long delay)
delay
- The delay to set.public boolean isRemoteExcluded()
public void setRemoteExcluded(boolean remoteexcluded)
remoteexcluded
- Is the local platform excluded by the remote platform?public Map<String,String> getProperties()
public void setProperties(Map<String,String> props)
props
- The properties.public boolean isAlive()
Copyright © 2012. All Rights Reserved.