|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.siprop.transport.util.PeerImpl
public class PeerImpl
Peerを示すクラス
コンストラクタの概要 | |
---|---|
PeerImpl(int protocol,
java.net.InetAddress host,
int port)
コンストラクタ |
メソッドの概要 | |
---|---|
boolean |
equals(java.lang.Object obj)
IPアドレスとポート番号、プロトコル番号が同じであるかを比較する。 |
java.net.InetAddress |
getAddress()
IPアドレスを取得する。 |
java.net.InetAddress |
getHost()
ホスト名を取得する。 |
int |
getPort()
ポートを取得する。 |
int |
getProtocol()
プロトコル番号を取得する。 |
int |
hashCode()
hash値を取得する。 |
boolean |
isConnectionOrientedProtocol()
コネクション指向のプロトコルかどうか? |
boolean |
isInner()
内向きかどうか? |
void |
setInner(boolean isInner)
内向きかどうか? |
java.lang.String |
toString()
文字列にする。 |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public PeerImpl(int protocol, java.net.InetAddress host, int port)
protocol
- host
- port
- メソッドの詳細 |
---|
public java.net.InetAddress getHost()
public java.net.InetAddress getAddress()
Peer
内の getAddress
public int getPort()
Peer
内の getPort
public int getProtocol()
Peer
内の getProtocol
public boolean isConnectionOrientedProtocol()
Peer
内の isConnectionOrientedProtocol
public int hashCode()
java.lang.Object
内の hashCode
public boolean equals(java.lang.Object obj)
java.lang.Object
内の equals
public java.lang.String toString()
java.lang.Object
内の toString
public boolean isInner()
Peer
内の isInner
public void setInner(boolean isInner)
Peer
内の setInner
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |