public class RemoteProxy extends Object
Modifier | Constructor and Description |
---|---|
protected |
RemoteProxy(DiscoveredData dd,
List<Locator> locators)
Constructor for RemoteProxy.
|
Modifier and Type | Method and Description |
---|---|
DiscoveredData |
getDiscoveredData()
Gets the DiscoveredData associated with this Proxy.
|
EntityId |
getEntityId()
Gets the EntityId of remote entity.
|
Guid |
getGuid()
Gets the Guid of remote entity.
|
Locator |
getLocator()
Gets the Locator for the remote entity.
|
List<Locator> |
getLocators()
Gets all the locators for this RemoteProxy
|
boolean |
isReliable()
Return true, if remote entity represented by this RemoteProxy is
configured to be reliable.
|
void |
preferMulticast(boolean preferMulticast)
Sets whether or not to prefer multicast.
|
String |
toString() |
void |
update(DiscoveredData dd)
Updates DiscoveredData of this RemoteProxy
|
protected RemoteProxy(DiscoveredData dd, List<Locator> locators)
dd
- DiscoveredDatalocators
- a List of Locatorspublic void update(DiscoveredData dd)
dd
- DiscoveredDatapublic Locator getLocator()
public List<Locator> getLocators()
public DiscoveredData getDiscoveredData()
public boolean isReliable()
public Guid getGuid()
public EntityId getEntityId()
public void preferMulticast(boolean preferMulticast)
preferMulticast
- Whether or not proxy prefers multicastCopyright © 2016. All rights reserved.