| java.lang.Object | |
| ↳ | com.rabbitmq.client.Address |
A representation of network addresses, i.e. host/port pairs, with some utility functions for parsing address strings.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct an address from a host name and port number.
| |||||||||||
Construct an address from a host.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the host name
| |||||||||||
Get the port number
| |||||||||||
Factory method: takes a formatted addressString string as construction parameter
| |||||||||||
Array-based factory method: takes an array of formatted address strings as construction parameter
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Construct an address from a host name and port number.
| host | the host name |
|---|---|
| port | the port number |
Get the port number
Factory method: takes a formatted addressString string as construction parameter
| addressString | an addressString of the form "host[:port]". |
|---|
Address from the given data
Array-based factory method: takes an array of formatted address strings as construction parameter
| addresses | array of strings of form "host[:port],..." |
|---|
Address values