public class DiscoveryInfo extends Object
Constructor and Description |
---|
DiscoveryInfo()
Create a new discovery info.
|
DiscoveryInfo(IComponentIdentifier cid,
IFuture<IComponentIdentifier> proxy,
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 time.
|
long |
getDelay(String src)
Get the time.
|
long[] |
getMaxEntry()
Get the time.
|
Map<String,String> |
getProperties()
Get the properties.
|
IFuture<IComponentIdentifier> |
getProxy()
Get the proxy.
|
long |
getTime()
Get the time.
|
long |
getTime(String src)
Get the time.
|
Map<String,long[]> |
getTimeDelays()
Get the delays.
|
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 |
removeTimeDelay(String src)
Remove a time support.
|
void |
setComponentIdentifier(IComponentIdentifier componentIdentifier)
Set the component identifier.
|
void |
setDelays(Map<String,long[]> timedelays)
Set the delays.
|
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 |
setTimeDelay(String src,
long time,
long delay)
Add a new time support.
|
String |
toString()
Get the string representation.
|
public DiscoveryInfo()
public DiscoveryInfo(IComponentIdentifier cid, IFuture<IComponentIdentifier> proxy, 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 long[] getMaxEntry()
public long getDelay()
public long getDelay(String src)
public long getTime(String src)
public void setTimeDelay(String src, long time, long delay)
public void removeTimeDelay(String src)
public void setDelays(Map<String,long[]> timedelays)
delays
- The delays 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 © 2015. All Rights Reserved.