public abstract class RawTransport<E extends PeerLocator> extends MonoTransportImpl<E>
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected E |
peerLocator |
chListener, listenerchListenersByUpper, supportsDuplexdefaultAppId, isActive, isBaseTransport, listenersByUpper, lowerTrans, peer, peerId, transId, transIdPath, uppersDEFAULT_APP_ID| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
RawTransport(PeerId peerId,
E peerLocator,
boolean supportsDuplex) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canSend(PeerLocator target) |
boolean |
canSendNormalObject() |
void |
fin()
Finalize the Transport object.
|
E |
getEndpoint()
Returns the local endpoint of the Transport.
|
Transport<?> |
getLowerTransport()
Returns the lower layer Transport object.
|
abstract RawChannel<E> |
newChannel(E dst,
boolean isDuplex,
int timeout) |
void |
send(E dst,
Object msg)
Send a message to the dst which have the default ObjectId.
|
getChannelListener, 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, sendprotected final E extends PeerLocator peerLocator
public void fin()
Transportfin インタフェース内 Transport<E extends PeerLocator>fin クラス内 MonoTransportImpl<E extends PeerLocator>public E getEndpoint()
Transportpublic Transport<?> getLowerTransport()
Transportnull is returned.getLowerTransport インタフェース内 Transport<E extends PeerLocator>getLowerTransport クラス内 TransportImpl<E extends PeerLocator>public boolean canSend(PeerLocator target)
public boolean canSendNormalObject()
public void send(E dst, Object msg) throws ProtocolUnsupportedException, IOException
Transportdst.
This type of send can be applicable for the cases where the application have
the default application Id.send インタフェース内 MonoTransport<E extends PeerLocator>send インタフェース内 Transport<E extends PeerLocator>send クラス内 MonoTransportImpl<E extends PeerLocator>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 abstract RawChannel<E> newChannel(E dst, boolean isDuplex, int timeout) throws IOException
newChannel インタフェース内 MonoTransport<E extends PeerLocator>newChannel クラス内 MonoTransportImpl<E extends PeerLocator>IOExceptionCopyright © 2017. All rights reserved.