public class EmuTransport extends RawTransport<EmuLocator>
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static int |
hopDelay |
peerLocatorchListener, listenerchListenersByUpper, supportsDuplexdefaultAppId, isActive, isBaseTransport, listenersByUpper, lowerTrans, peer, peerId, transId, transIdPath, uppersDEFAULT_APP_ID| コンストラクタと説明 |
|---|
EmuTransport(PeerId peerId,
EmuLocator peerLocator) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canSendNormalObject() |
void |
fadeoutLocator(EmuLocator oldLoc) |
void |
fin()
Finalize the Transport object.
|
RawChannel<EmuLocator> |
newChannel(EmuLocator dst,
boolean isDuplex,
int timeout) |
void |
putNewLocator(PeerLocator newLoc) |
void |
send(EmuLocator dst,
Object msg)
Send a message to the dst which have the default ObjectId.
|
canSend, getEndpoint, getLowerTransportgetChannelListener, 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, hasStableLocator, isUp, 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, hasStableLocator, isUp, send, send, send, send, send, sendpublic EmuTransport(PeerId peerId, EmuLocator peerLocator)
public void fin()
Transportfin インタフェース内 Transport<EmuLocator>fin クラス内 RawTransport<EmuLocator>public boolean canSendNormalObject()
canSendNormalObject クラス内 RawTransport<EmuLocator>public void putNewLocator(PeerLocator newLoc)
public void fadeoutLocator(EmuLocator oldLoc)
public void send(EmuLocator dst, Object msg) throws IOException
Transportdst.
This type of send can be applicable for the cases where the application have
the default application Id.send インタフェース内 MonoTransport<EmuLocator>send インタフェース内 Transport<EmuLocator>send クラス内 RawTransport<EmuLocator>dst - The Destinationmsg - The messageProtocolUnsupportedException - is thrown when the protocol is not supported
for the dstIOException - is thrown when an I/O error occurs.public RawChannel<EmuLocator> newChannel(EmuLocator dst, boolean isDuplex, int timeout) throws IOException
newChannel インタフェース内 MonoTransport<EmuLocator>newChannel クラス内 RawTransport<EmuLocator>IOExceptionCopyright © 2017. All rights reserved.