パッケージ org.piax.gtrans.impl
クラス BaseTransportMgr
java.lang.Object
org.piax.gtrans.impl.BaseTransportMgr
- すべての実装されたインタフェース:
LocatorStatusObserver
public class BaseTransportMgr extends Object implements LocatorStatusObserver
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classBaseTransportMgr.ConnectionStat -
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static Option.StringOptionBASE_TRANSPORT_MANAGER_CLASSstatic LinkStatAndScoreIfstatAndScore -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 BaseTransportMgr(Peer peer) -
メソッドの概要
-
フィールド詳細
-
コンストラクタの詳細
-
メソッドの詳細
-
fin
public void fin() -
addBaseTransportGenerator
-
addFirstBaseTransportGenerator
-
hasMatchedBaseTransport
-
newBaseTransport
public <E extends Endpoint> Transport<E> newBaseTransport(String desc, TransportId transId, E myLocator) throws IOException, IdConflictException -
newBaseChannelTransport
public <E extends Endpoint> ChannelTransport<E> newBaseChannelTransport(String desc, TransportId transId, E myLocator) throws IOException, IdConflictException -
getBaseTransports
-
getBaseTransportIdPaths
-
removeBaseTransport
Remove the specified PeerLocator- 型パラメータ:
E- the type of peer locator.- パラメータ:
ep- the Endpoint.- 戻り値:
- the removed transport.
-
removeAllBaseTransports
public void removeAllBaseTransports()Remove all PeerLocators -
getAvailableLocators
isUpであるローカルPeerのlocatorをリストとして返す。- 戻り値:
- isUpであるローカルPeerのlocatorのリスト
-
getRelatedBaseTransport
指定されたmyLocatorに対応するBaseTransportを返す。 存在しない場合は、nullが返る。- 型パラメータ:
E- the type of peer locator.- パラメータ:
localLocator- PeerLocatorオブジェクト- 戻り値:
- myLocatorと対応するBaseTransport、存在しない場合はnull
-
getApplicableBaseTransport
-
getRecentlyUsedTransport
-
getConnections
public List<BaseTransportMgr.ConnectionStat> getConnections(Collection<? extends PeerLocator> remoteLocs) -
bestRemoteLocator
-
registerObserver
-
unregisterObserver
-
onEnabled
- 定義:
onEnabledインタフェース内LocatorStatusObserver
-
onFadeout
- 定義:
onFadeoutインタフェース内LocatorStatusObserver
-
onChanging
インタフェースからコピーされた説明:LocatorStatusObserverPeerLocatorの変更通知を受理する。 oldLocからnewLocに変化があったことを受理するためのメソッド。- 定義:
onChangingインタフェース内LocatorStatusObserver- パラメータ:
oldLoc- the old locatornewLoc- the new locator to be changed.
-
onHangup
- 定義:
onHangupインタフェース内LocatorStatusObserver
-
toString
-