메소드 | 설명 | |
---|---|---|
AmqpTcpEndpoint ( ) : System |
Construct an AmqpTcpEndpoint with "localhost" as the hostname, and using the default port.
|
|
AmqpTcpEndpoint ( |
Creates a new instance of the AmqpTcpEndpoint with the given Uri. Please see the class overview documentation for information about the Uri format in use. |
|
AmqpTcpEndpoint ( |
Creates a new instance of the AmqpTcpEndpoint with the given Uri and ssl options. Please see the class overview documentation for information about the Uri format in use. |
|
AmqpTcpEndpoint ( string hostName, int portOrMinusOne = -1 ) : System |
Creates a new instance of the AmqpTcpEndpoint.
|
|
AmqpTcpEndpoint ( string hostName, int portOrMinusOne, |
Creates a new instance of the AmqpTcpEndpoint.
|
|
Clone ( ) : object |
Clones the endpoint.
|
|
CloneWithHostname ( string hostname ) : AmqpTcpEndpoint |
Clones the endpoint using the provided hostname.
|
|
Equals ( object obj ) : bool |
Compares this instance by value (protocol, hostname, port) against another instance.
|
|
GetHashCode ( ) : int |
Implementation of hash code depending on protocol, hostname and port, to line up with the implementation of Equals.
|
|
Parse ( string address ) : AmqpTcpEndpoint |
Construct an instance from a protocol and an address in "hostname:port" format. If the address string passed in contains ":", it is split into a hostname and a port-number part. Otherwise, the entire string is used as the hostname, and the port-number is set to -1 (meaning the default number for the protocol variant specified). Hostnames provided as IPv6 must appear in square brackets ([]). |
|
ParseMultiple ( string addresses ) : AmqpTcpEndpoint[] |
Splits the passed-in string on ",", and passes the substrings to Parse. Accepts a string of the form "hostname:port, hostname:port, ...", where the ":port" pieces are optional, and returns a corresponding array of AmqpTcpEndpoints. |
|
ToString ( ) : string |
Returns a URI-like string of the form amqp-PROTOCOL://HOSTNAME:PORTNUMBER. This method is intended mainly for debugging and logging use. |
public AmqpTcpEndpoint ( |
||
uri | ||
ssl | ||
리턴 | System |
public AmqpTcpEndpoint ( string hostName, int portOrMinusOne = -1 ) : System | ||
hostName | string | Hostname. |
portOrMinusOne | int | Port number. If the port number is -1, the default port number will be used. |
리턴 | System |
public AmqpTcpEndpoint ( string hostName, int portOrMinusOne, |
||
hostName | string | Hostname. |
portOrMinusOne | int | Port number. If the port number is -1, the default port number will be used. |
ssl | Ssl option. | |
리턴 | System |
public CloneWithHostname ( string hostname ) : AmqpTcpEndpoint | ||
hostname | string | Hostname to use |
리턴 | AmqpTcpEndpoint |
public static Parse ( string address ) : AmqpTcpEndpoint | ||
address | string | |
리턴 | AmqpTcpEndpoint |
public static ParseMultiple ( string addresses ) : AmqpTcpEndpoint[] | ||
addresses | string | |
리턴 | AmqpTcpEndpoint[] |