クラス LWTcpTransport
java.lang.Object
- すべての実装されたインタフェース:
Closeable,AutoCloseable,ChannelTransport<TcpLocator>,MonoTransport<TcpLocator>,Transport<TcpLocator>
public class LWTcpTransport extends InetTransport<TcpLocator>
TCP用のRawTransportを実現するクラス。
-
フィールドの概要
クラスから継承されたフィールド 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 -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 LWTcpTransport(PeerId peerId, TcpLocator peerLocator)LWTcpTransport(PeerId peerId, TcpLocator peerLocator, boolean linger0Option) -
メソッドの概要
修飾子とタイプ メソッド 説明 voidfin()intgetMTU()booleanlinger0Option()RawChannel<TcpLocator>newChannel(TcpLocator dst, boolean isDuplex, int timeout)クラスから継承されたメソッド org.piax.gtrans.raw.InetTransport
hasStableLocator, isUp, registerTrans, unregisterTransクラスから継承されたメソッド org.piax.gtrans.raw.RawTransport
canSend, canSendNormalObject, getEndpoint, getLowerTransport, sendクラスから継承されたメソッド 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
-
コンストラクタの詳細
-
LWTcpTransport
public LWTcpTransport(PeerId peerId, TcpLocator peerLocator, boolean linger0Option) throws IOException- 例外:
IOException
-
LWTcpTransport
- 例外:
IOException
-
-
メソッドの詳細
-
linger0Option
public boolean linger0Option() -
fin
public void fin()- 定義:
finインタフェース内Transport<TcpLocator>- オーバーライド:
finクラス内InetTransport<TcpLocator>
-
getMTU
public int getMTU()- 定義:
getMTUインタフェース内Transport<TcpLocator>- オーバーライド:
getMTUクラス内TransportImpl<TcpLocator>
-
newChannel
public RawChannel<TcpLocator> newChannel(TcpLocator dst, boolean isDuplex, int timeout) throws IOException- 定義:
newChannelインタフェース内MonoTransport<TcpLocator>- 定義:
newChannelクラス内RawTransport<TcpLocator>- 例外:
IOException
-