public abstract class InetTransport<E extends InetLocator> extends RawTransport<E>
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected org.piax.gtrans.raw.InetTransport.MonitorTask |
monitorTask |
protected static Map<InetAddress,org.piax.gtrans.raw.InetTransport.MonitorTask> |
monitorTasks |
protected static Timer |
monitorTimer |
static String |
TIMER_THREAD_NAME |
peerLocatorchListener, listenerchListenersByUpper, supportsDuplexdefaultAppId, isActive, isBaseTransport, listenersByUpper, lowerTrans, peer, peerId, transId, transIdPath, uppersDEFAULT_APP_ID| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
InetTransport(PeerId peerId,
E peerLocator,
boolean supportsDuplex) |
protected |
InetTransport(PeerId peerId,
E peerLocator,
boolean supportsDuplex,
long interval) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
fin()
Finalize the Transport object.
|
boolean |
hasStableLocator()
Returns whether the Transport has stable (not changed) locator or not.
|
boolean |
isUp()
Returns whether the Transport object is enabled or not.
|
protected static org.piax.gtrans.raw.InetTransport.MonitorTask |
registerTrans(InetTransport<?> inetTrans,
long interval) |
protected static void |
unregisterTrans(InetTransport<?> inetTrans) |
canSend, canSendNormalObject, getEndpoint, getLowerTransport, newChannel, sendgetChannelListener, getChannelListener, getListener, getListener, newChannel, newChannel, newChannel, newChannel, send, setChannelListener, setChannelListener, setListener, setListenernewChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, supportsDuplex, toString0checkActive, getBaseTransport, getDefaultAppId, getLowerTransports, getMTU, getPeer, getPeerId, getTransportId, getTransportIdPath, getUppers, send, send, send, send, send, send, setBaseTransport, setDefaultAppId, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitnewChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, supportsDuplexgetBaseTransport, getLowerTransports, getMTU, getPeer, getPeerId, getTransportId, getTransportIdPath, send, send, send, send, send, sendpublic static String TIMER_THREAD_NAME
protected static Timer monitorTimer
protected static final Map<InetAddress,org.piax.gtrans.raw.InetTransport.MonitorTask> monitorTasks
protected org.piax.gtrans.raw.InetTransport.MonitorTask monitorTask
protected InetTransport(PeerId peerId, E peerLocator, boolean supportsDuplex) throws IOException
IOExceptionprotected InetTransport(PeerId peerId, E peerLocator, boolean supportsDuplex, long interval) throws IOException
IOExceptionprotected static org.piax.gtrans.raw.InetTransport.MonitorTask registerTrans(InetTransport<?> inetTrans, long interval) throws IOException
IOExceptionprotected static void unregisterTrans(InetTransport<?> inetTrans) throws IOException
IOExceptionpublic void fin()
Transportfin インタフェース内 Transport<E extends InetLocator>fin クラス内 RawTransport<E extends InetLocator>public boolean isUp()
TransportisUp インタフェース内 Transport<E extends InetLocator>isUp クラス内 TransportImpl<E extends InetLocator>public boolean hasStableLocator()
TransporthasStableLocator インタフェース内 Transport<E extends InetLocator>hasStableLocator クラス内 TransportImpl<E extends InetLocator>Copyright © 2017. All rights reserved.