| Flags | Type | Name | Summary |
|---|---|---|---|
| public |
string
|
HostName
(rw)
|
Retrieve or set the hostname of this AmqpTcpEndpoint. |
| public |
int
|
Port
(rw)
|
Retrieve or set the port number of this AmqpTcpEndpoint. A port number of -1 causes the default port number for the IProtocol to be used. |
| public |
IProtocol
|
Protocol
(rw)
|
Retrieve or set the IProtocol of this AmqpTcpEndpoint. |
| Flags | Name | Summary |
|---|---|---|
| public |
AmqpTcpEndpoint(IProtocol protocolVariant, string hostname, int portOrMinusOne)
|
Construct an AmqpTcpEndpoint with the given IProtocol, hostname, and port number. If the port number is -1, the default port number for the IProtocol will be used. |
| Flags | Name | Summary |
|---|---|---|
| public virtual |
bool Equals(object obj)
|
Compares this instance by value (protocol, hostname, port) against another instance |
| public virtual |
int GetHashCode()
|
Implementation of hash code depending on protocol, hostname and port, to line up with the implementation of Equals() |
| public static |
AmqpTcpEndpoint Parse(IProtocol protocol, string address)
|
Construct an instance from a protocol and an address in "hostname:port" format. |
| public static |
AmqpTcpEndpoint[] ParseMultiple(IProtocol protocol, string addresses)
|
Splits the passed-in string on ",", and passes the substrings to AmqpTcpEndpoint.Parse() |
| public virtual |
string ToString()
|
Returns a URI-like string of the form amqp-PROTOCOL://HOSTNAME:PORTNUMBER |
public
AmqpTcpEndpoint(IProtocol protocolVariant, string hostname, int portOrMinusOne)
| Parameters |
|
|---|
public virtual
bool Equals(object obj)
| Flags | public virtual | ||||
|---|---|---|---|---|---|
| Return type |
bool
|
||||
| Parameters |
|
public virtual
int GetHashCode()
| Flags | public virtual |
|---|---|
| Return type |
int
|
public static
AmqpTcpEndpoint Parse(IProtocol protocol, string address)
| Flags | public static | ||||||
|---|---|---|---|---|---|---|---|
| Return type |
AmqpTcpEndpoint
|
||||||
| Parameters |
|
public static
AmqpTcpEndpoint[] ParseMultiple(IProtocol protocol, string addresses)
| Flags | public static | ||||||
|---|---|---|---|---|---|---|---|
| Return type |
AmqpTcpEndpoint[]
|
||||||
| Parameters |
|
public virtual
string ToString()
| Flags | public virtual |
|---|---|
| Return type |
string
|