public interface TransportMetadata
IoService
.Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.net.SocketAddress> |
getAddressType()
Returns the address type of the service.
|
java.util.Set<java.lang.Class<? extends java.lang.Object>> |
getEnvelopeTypes()
Returns the set of the allowed message type when you write to an
IoSession that is managed by the service. |
java.lang.String |
getName()
Returns the name of the service.
|
java.lang.String |
getProviderName()
Returns the name of the service provider (e.g.
|
java.lang.Class<? extends IoSessionConfig> |
getSessionConfigType()
Returns the type of the
IoSessionConfig of the service |
boolean |
hasFragmentation()
Returns
true if the messages exchanged by the service can be
fragmented
or reassembled by its underlying transport. |
boolean |
isConnectionless()
Returns
true if the session of this transport type is
connectionless. |
java.lang.String getProviderName()
java.lang.String getName()
boolean isConnectionless()
true
if the session of this transport type is
connectionless.boolean hasFragmentation()
true
if the messages exchanged by the service can be
fragmented
or reassembled by its underlying transport.java.lang.Class<? extends java.net.SocketAddress> getAddressType()
java.util.Set<java.lang.Class<? extends java.lang.Object>> getEnvelopeTypes()
IoSession
that is managed by the service.java.lang.Class<? extends IoSessionConfig> getSessionConfigType()
IoSessionConfig
of the serviceCopyright © 2004-2019 Apache MINA Project. All Rights Reserved.