Class ChannelMetadata


  • public final class ChannelMetadata
    extends java.lang.Object
    Represents the properties of a Channel implementation.
    • Field Detail

      • hasDisconnect

        private final boolean hasDisconnect
      • defaultMaxMessagesPerRead

        private final int defaultMaxMessagesPerRead
    • Constructor Detail

      • ChannelMetadata

        public ChannelMetadata​(boolean hasDisconnect)
        Create a new instance
        Parameters:
        hasDisconnect - true if and only if the channel has the disconnect() operation that allows a user to disconnect and then call Channel.connect(SocketAddress) again, such as UDP/IP.