パッケージ org.piax.gtrans.ov.flood
クラス SimpleFlooding<D extends Destination,K extends Key>
java.lang.Object
org.piax.gtrans.impl.TransportImpl<D>
org.piax.gtrans.impl.RequestTransportImpl<D>
org.piax.gtrans.ov.impl.OverlayImpl<D,K>
org.piax.gtrans.ov.flood.SimpleFlooding<D,K>
- すべての実装されたインタフェース:
Closeable,AutoCloseable,Overlay<D,K>,RequestTransport<D>,Transport<D>
public class SimpleFlooding<D extends Destination,K extends Key> extends OverlayImpl<D,K>
An implementation of simple flooding.
-
ネストされたクラスの概要
クラスから継承されたネストされたクラス/インタフェース org.piax.gtrans.impl.RequestTransportImpl
RequestTransportImpl.IsEasySend -
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static TransportIdDEFAULT_TRANSPORT_IDstatic intMAX_HOPSstatic intMAX_LINKSクラスから継承されたフィールド org.piax.gtrans.impl.TransportImpl
defaultAppId, isActive, isBaseTransport, listenersByUpper, lowerTrans, peer, peerId, transId, transIdPath, uppers -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 SimpleFlooding(TransportId transId, ChannelTransport<?> trans)SimpleFlooding(ChannelTransport<?> trans) -
メソッドの概要
修飾子とタイプ メソッド 説明 booleanaddKey(ObjectId upper, K key)voidfin()EndpointgetEndpoint()booleanjoin(Collection<? extends Endpoint> seeds)booleanleave()FutureQueue<?>onReceiveRequest(Collection<K> matchedKeys, NestedMessage nmsg)FutureQueue<?>request(ObjectId sender, ObjectId receiver, Destination dst, Object msg, TransOptions opts)StringshowTable()クラスから継承されたメソッド org.piax.gtrans.ov.impl.OverlayImpl
addKey, addKeyAsync, addKeyAsync, getAvailableKeyType, getKeys, getKeys, getListener, isJoined, join, join, join, lowerAddKey, lowerAddKeyAsync, lowerRemoveKey, lowerRemoveKeyAsync, numOfRegisteredKey, registerKey, registerKey, removeKey, removeKey, removeKeyAsync, removeKeyAsync, request, request, request, request, request, request, request, request, request, request, requestAsync, selectOnReceive, send, send, send, send, setListener, singletonFutureQueue, singletonFutureQueue, toString0, unregisterKey, unregisterKeyクラスから継承されたメソッド org.piax.gtrans.impl.RequestTransportImpl
checkAndClearIsEasySend, getListener0, request, request, request, request, request, request, request, request, request, request, requestAsync, selectOnReceive, send, sendクラスから継承されたメソッド org.piax.gtrans.impl.TransportImpl
checkActive, getBaseTransport, getDefaultAppId, getListener, getLowerTransport, getLowerTransports, getMTU, getPeer, getPeerId, getTransportId, getTransportIdPath, getUppers, hasStableLocator, isUp, send, send, send, send, send, send, setBaseTransport, setDefaultAppId, setListener, setListener, toStringクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitインタフェースから継承されたメソッド org.piax.gtrans.ov.Overlay
requestAsync, requestAsync, requestAsync, requestAsync, requestAsyncインタフェースから継承されたメソッド org.piax.gtrans.RequestTransport
request, request, request, request, request, request, request, request, request, request, requestAsync, requestAsync, requestAsync, requestAsync, requestAsync, requestAsync, requestAsyncインタフェースから継承されたメソッド org.piax.gtrans.Transport
close, getBaseTransport, getListener, getLowerTransport, getLowerTransports, getMTU, getPeer, getPeerId, getTransportId, getTransportIdPath, hasStableLocator, isUp, send, send, send, send, send, send, send, send, sendAsync, sendAsync, sendAsync, sendAsync, sendAsync, sendAsync, setListener, setListener
-
フィールド詳細
-
DEFAULT_TRANSPORT_ID
-
MAX_HOPS
public static int MAX_HOPS -
MAX_LINKS
public static int MAX_LINKS
-
-
コンストラクタの詳細
-
SimpleFlooding
-
SimpleFlooding
public SimpleFlooding(TransportId transId, ChannelTransport<?> trans) throws IdConflictException, IOException
-
-
メソッドの詳細
-
fin
public void fin()- 定義:
finインタフェース内Transport<D extends Destination>- オーバーライド:
finクラス内TransportImpl<D extends Destination>
-
getEndpoint
-
request
public FutureQueue<?> request(ObjectId sender, ObjectId receiver, Destination dst, Object msg, TransOptions opts) throws ProtocolUnsupportedException, IOException -
onReceiveRequest
-
addKey
- 定義:
addKeyインタフェース内Overlay<D extends Destination,K extends Key>- オーバーライド:
addKeyクラス内OverlayImpl<D extends Destination,K extends Key>- 例外:
IOException
-
join
- 定義:
joinインタフェース内Overlay<D extends Destination,K extends Key>- 定義:
joinクラス内OverlayImpl<D extends Destination,K extends Key>- 例外:
IOException
-
leave
- 定義:
leaveインタフェース内Overlay<D extends Destination,K extends Key>- 定義:
leaveクラス内OverlayImpl<D extends Destination,K extends Key>- 例外:
IOException
-
showTable
-