public interface MonoTransport<E extends Endpoint> extends ChannelTransport<E>
DEFAULT_APP_ID| 修飾子とタイプ | メソッドと説明 |
|---|---|
ChannelListener<E> |
getChannelListener()
Get channel listener for the object which has default object ID.
|
TransportListener<E> |
getListener()
Returns the TransportListener for the default appId.
|
Channel<E> |
newChannel(E dst) |
Channel<E> |
newChannel(E dst,
boolean isDuplex) |
Channel<E> |
newChannel(E dst,
boolean isDuplex,
int timeout) |
Channel<E> |
newChannel(E dst,
int timeout) |
void |
send(E dst,
Object msg)
Send a message to the dst which have the default ObjectId.
|
void |
setChannelListener(ChannelListener<E> listener)
Set channel listener for the object which has default object ID.
|
void |
setListener(TransportListener<E> listener)
Register a TransportListener for the default appId.
|
getChannelListener, getEndpoint, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, newChannel, setChannelListener, supportsDuplexfin, getBaseTransport, getListener, getLowerTransport, getLowerTransports, getMTU, getPeer, getPeerId, getTransportId, getTransportIdPath, hasStableLocator, isUp, send, send, send, send, send, send, send, setListenervoid setListener(TransportListener<E> listener)
TransportsetListener インタフェース内 Transport<E extends Endpoint>listener - the TransportListener for the default appId.TransportListener<E> getListener()
TransportgetListener インタフェース内 Transport<E extends Endpoint>void setChannelListener(ChannelListener<E> listener)
ChannelTransportsetChannelListener インタフェース内 ChannelTransport<E extends Endpoint>listener - the channel listner to set.ChannelListener<E> getChannelListener()
ChannelTransportgetChannelListener インタフェース内 ChannelTransport<E extends Endpoint>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 インタフェース内 Transport<E extends Endpoint>dst - The Destinationmsg - The messageProtocolUnsupportedException - is thrown when the protocol is not supported
for the dstIOException - is thrown when an I/O error occurs.Channel<E> newChannel(E dst) throws ProtocolUnsupportedException, IOException
newChannel インタフェース内 ChannelTransport<E extends Endpoint>ProtocolUnsupportedExceptionIOExceptionChannel<E> newChannel(E dst, int timeout) throws ProtocolUnsupportedException, IOException
Channel<E> newChannel(E dst, boolean isDuplex) throws ProtocolUnsupportedException, IOException
newChannel インタフェース内 ChannelTransport<E extends Endpoint>ProtocolUnsupportedExceptionIOExceptionChannel<E> newChannel(E dst, boolean isDuplex, int timeout) throws ProtocolUnsupportedException, IOException
Copyright © 2017. All rights reserved.