public class ConnectionEndpoint extends ObjectSE implements CloneableSE, ComparableSE<ConnectionEndpoint>
CloneableSE, ComparableSE| 修飾子と型 | フィールドと説明 |
|---|---|
protected static StringSE | DEFAULT_HOST |
protected static int | DEFAULT_PORT |
protected static StringSE | GEMFIRE_HOST_PORT_SEPARATOR |
protected static StringSE | STANDARD_HOST_PORT_SEPARATOR |
| コンストラクターと説明 |
|---|
ConnectionEndpoint(StringSE host, int port) 特定のホストとポートで初期化された ConnectionEndpoint を構築します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected ObjectSE | clone() |
int | compareTo(ConnectionEndpoint connectionEndpoint) |
boolean | equals(ObjectSE obj) |
static ConnectionEndpoint | from(InetSocketAddressSE socketAddress)InetSocketAddress を ConnectionEndpoint に変換します。 |
StringSE | getHost() この ConnectionEndpoint 内のホストを取得します。 |
int | getPort() この ConnectionEndpoint 内のポート番号を取得します。 |
int | hashCode() |
static ConnectionEndpoint | parse(StringSE hostPort) ホストとポートの文字列値を有効な ConnectionEndpoint に解析します。 |
static ConnectionEndpoint | parse(StringSE hostPort, int defaultPort) ホストとポートの値を有効な ConnectionEndpoint に解析します。 |
InetSocketAddressSE | toInetSocketAddress() この ConnectionEndpoint を InetSocketAddressSE 表現に変換します。 |
StringSE | toString() |
finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEprotected static final int DEFAULT_PORT
protected static final StringSE GEMFIRE_HOST_PORT_SEPARATOR
public ConnectionEndpoint(StringSE host, int port)
host - ConnectionEndpoint のホスト名または IP アドレス。ホストが指定されていない場合は、ConnectionEndpoint.DEFAULT_HOST が使用されます。port - この ConnectionEndpoint 内の (サービス) ポート番号。IllegalArgumentExceptionSE - ポート番号が 0 未満の場合。DEFAULT_HOSTpublic static ConnectionEndpoint from(InetSocketAddressSE socketAddress)
socketAddress - ConnectionEndpoint を構築および初期化するために使用される InetSocketAddress。InetSocketAddressSEpublic static ConnectionEndpoint parse(StringSE hostPort)
hostPort - 'host[port]' 形式のホストとポートを含む文字列値。parse(String, int), DEFAULT_PORTpublic static ConnectionEndpoint parse(StringSE hostPort, int defaultPort)
hostPort - 'host[port]' 形式のホストとポートを含む文字列値。defaultPort - ホストとポートの文字列値でポートが指定されていない場合に使用するデフォルトのポートを示す整数値。ConnectionEndpoint(String, int)public StringSE getHost()
public int getPort()
public InetSocketAddressSE toInetSocketAddress()
ConnectionEndpoint を InetSocketAddressSE 表現に変換します。ConnectionEndpoint の InetSocketAddressSE 表現。InetSocketAddressSE, getHost(), getPort()protected ObjectSE clone() throws CloneNotSupportedExceptionSE
ObjectSE の cloneSE CloneNotSupportedExceptionSEpublic int compareTo(ConnectionEndpoint connectionEndpoint)
ComparableSE<ConnectionEndpoint> の compareToSE public int hashCode()
ObjectSE の hashCodeSE public StringSE toString()
ObjectSE の toStringSE Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.