| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final Map | |
| private String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public BusAddress | Returns: thisparameter name _parameter, String value _value)Add a parameter to the address. |
| public String | |
| public String | |
| public BusAddress | Returns: new BusAddress or thisCreates a listening BusAddress if this instance is not already listening. |
| public String | Returns: String ornullparameter to get value for _parameter)Returns a the value of the given parameter. |
| public String | Returns: String or defaultparameter to get value for _parameter, String default to return if parameter not set _default)Returns a the value of the given parameter. |
| public String | |
| public boolean | Returns: true if parameter exists, false otherwiseparameter to check _parameter)Checks if the given parameter is present. |
| public boolean | Returns: true if same type (case-insensitive), false if null or not same typeto compare _type)Checks if this |
| public boolean | |
| public boolean | |
| public static BusAddress | |
| public static BusAddress | Returns: BusAddressaddress String, never null or empty _address)Creates a new |
| public BusAddress | |
| public final String |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| parameters | back to summary |
|---|---|
| private final Map<String, String> parameters | |
| type | back to summary |
|---|---|
| private String type | |
| BusAddress | back to summary |
|---|---|
| protected BusAddress(BusAddress _obj) | |
| addParameter | back to summary |
|---|---|
| public BusAddress addParameter(String _parameter, String _value) Add a parameter to the address. Adding multiple parameters with same name is not possible and will overwrite previous values.
| |
| getBusType | back to summary |
|---|---|
| public String getBusType() Returns the transport type in uppercase.
| |
| getGuid | back to summary |
|---|---|
| public String getGuid() | |
| getListenerAddress | back to summary |
|---|---|
| public BusAddress getListenerAddress() Creates a listening BusAddress if this instance is not already listening.
| |
| getParameterValue | back to summary |
|---|---|
| public String getParameterValue(String _parameter) Returns a the value of the given parameter.
When no value present, | |
| getParameterValue | back to summary |
|---|---|
| public String getParameterValue(String _parameter, String _default) Returns a the value of the given parameter. When no value present, the given default is returned. | |
| getType | back to summary |
|---|---|
| public String getType() Returns the transport type as found in the address.
| |
| hasParameter | back to summary |
|---|---|
| public boolean hasParameter(String _parameter) Checks if the given parameter is present.
| |
| isBusType | back to summary |
|---|---|
| public boolean isBusType(String _type) Checks if this
isBusType("unix");
| |
| isListeningSocket | back to summary |
|---|---|
| public boolean isListeningSocket() True if this is a listening address.
| |
| isServer | back to summary |
|---|---|
| public boolean isServer() True if this address represents a listening server address.
| |
| of | back to summary |
|---|---|
| public static BusAddress of(BusAddress _address) Creates a copy of the given
| |
| of | back to summary |
|---|---|
| public static BusAddress of(String _address) Creates a new
| |
| removeParameter | back to summary |
|---|---|
| public BusAddress removeParameter(String _parameter) Remove parameter with given name. If parameter does not exists, nothing will happen.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |