パッケージ org.piax.gtrans.raw.udp
クラス UdpTransport
java.lang.Object
- すべての実装されたインタフェース:
Closeable,AutoCloseable,ChannelTransport<UdpLocator>,MonoTransport<UdpLocator>,Transport<UdpLocator>
public class UdpTransport extends InetTransport<UdpLocator>
UDP用のRawTransportを実現するクラス。
IPフラグメンテーションを抑制するためのMTU以下へのパケット分割の処理は行っていない。
-
フィールドの概要
クラスから継承されたフィールド org.piax.gtrans.raw.InetTransport
monitorTask, monitorTasks, monitorTimer, TIMER_THREAD_NAMEクラスから継承されたフィールド org.piax.gtrans.impl.TransportImpl
defaultAppId, isActive, isBaseTransport, listenersByUpper, lowerTrans, peer, peerId, transId, transIdPath, uppers -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 UdpTransport(PeerId peerId, UdpLocator peerLocator) -
メソッドの概要
修飾子とタイプ メソッド 説明 voidfin()intgetMTU()RawChannel<UdpLocator>newChannel(UdpLocator dst, boolean isDuplex, int timeout)voidsend(UdpLocator toPeer, Object msg)クラスから継承されたメソッド org.piax.gtrans.raw.InetTransport
hasStableLocator, isUp, registerTrans, unregisterTransクラスから継承されたメソッド org.piax.gtrans.raw.RawTransport
canSend, canSendNormalObject, getEndpoint, getLowerTransportクラスから継承されたメソッド org.piax.gtrans.raw.MonoTransportImpl
getChannelListener, getChannelListener, getListener, getListener, newChannel, newChannel, newChannel, newChannel, send, setChannelListener, setChannelListener, setListener, setListenerクラスから継承されたメソッド org.piax.gtrans.impl.ChannelTransportImpl
newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, supportsDuplex, toString0クラスから継承されたメソッド org.piax.gtrans.impl.TransportImpl
checkActive, getBaseTransport, getDefaultAppId, getLowerTransports, getPeer, getPeerId, getTransportId, getTransportIdPath, getUppers, send, send, send, send, send, send, setBaseTransport, setDefaultAppId, toStringクラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitインタフェースから継承されたメソッド org.piax.gtrans.ChannelTransport
newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, supportsDuplexインタフェースから継承されたメソッド org.piax.gtrans.Transport
close, getBaseTransport, getLowerTransports, getPeer, getPeerId, getTransportId, getTransportIdPath, send, send, send, send, send, send, sendAsync, sendAsync, sendAsync, sendAsync, sendAsync, sendAsync
-
コンストラクタの詳細
-
メソッドの詳細
-
fin
public void fin()- 定義:
finインタフェース内Transport<UdpLocator>- オーバーライド:
finクラス内InetTransport<UdpLocator>
-
getMTU
public int getMTU()- 定義:
getMTUインタフェース内Transport<UdpLocator>- オーバーライド:
getMTUクラス内TransportImpl<UdpLocator>
-
send
- 定義:
sendインタフェース内MonoTransport<UdpLocator>- 定義:
sendインタフェース内Transport<UdpLocator>- オーバーライド:
sendクラス内RawTransport<UdpLocator>- 例外:
IOException
-
newChannel
public RawChannel<UdpLocator> newChannel(UdpLocator dst, boolean isDuplex, int timeout) throws IOException- 定義:
newChannelインタフェース内MonoTransport<UdpLocator>- 定義:
newChannelクラス内RawTransport<UdpLocator>- 例外:
IOException
-