public class TransportAddressBook
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String[]> |
addresses
The managed addresses.
|
Constructor and Description |
---|
TransportAddressBook() |
Modifier and Type | Method and Description |
---|---|
void |
addPlatformAddresses(ITransportComponentIdentifier platform)
Set the addresses of a platform.
|
static TransportAddressBook |
getAddressBook(IComponentIdentifier platform)
Get the address book from a component.
|
static TransportAddressBook |
getAddressBook(IInternalAccess agent)
Get the address book from a component.
|
java.lang.String[] |
getPlatformAddresses(IComponentIdentifier component)
Remove the addresses of a platform.
|
java.util.Map<java.lang.String,java.lang.String[]> |
getTransportAddresses()
Get direct access to the map of the addresses.
|
ITransportComponentIdentifier |
getTransportComponentIdentifier(IComponentIdentifier component)
Create a transport component identifier.
|
static ITransportComponentIdentifier |
getTransportComponentIdentifier(IComponentIdentifier cid,
java.util.Map<java.lang.String,java.lang.String[]> addresses)
Internal convert method for identifiers.
|
ITransportComponentIdentifier[] |
getTransportComponentIdentifiers(IComponentIdentifier[] components)
Create a transport component identifiers.
|
void |
removePlatformAddresses(ITransportComponentIdentifier platform)
Remove the addresses of a platform.
|
protected java.util.Map<java.lang.String,java.lang.String[]> addresses
public void addPlatformAddresses(ITransportComponentIdentifier platform)
platform
- The component identifier of the platform.public void removePlatformAddresses(ITransportComponentIdentifier platform)
platform
- The component identifier of the platform.public java.lang.String[] getPlatformAddresses(IComponentIdentifier component)
platform
- The component identifier of the platform.public ITransportComponentIdentifier getTransportComponentIdentifier(IComponentIdentifier component)
The
- component identifier.public ITransportComponentIdentifier[] getTransportComponentIdentifiers(IComponentIdentifier[] components)
The
- component identifiers.public java.util.Map<java.lang.String,java.lang.String[]> getTransportAddresses()
public static ITransportComponentIdentifier getTransportComponentIdentifier(IComponentIdentifier cid, java.util.Map<java.lang.String,java.lang.String[]> addresses)
public static TransportAddressBook getAddressBook(IComponentIdentifier platform)
public static TransportAddressBook getAddressBook(IInternalAccess agent)