Class NetworkRegistry.ChannelBuilder

  • Enclosing class:
    NetworkRegistry

    public static class NetworkRegistry.ChannelBuilder
    extends java.lang.Object
    Builder for constructing network channels using a builder style API.
    • Field Detail

      • networkProtocolVersion

        private java.util.function.Supplier<java.lang.String> networkProtocolVersion
      • clientAcceptedVersions

        private java.util.function.Predicate<java.lang.String> clientAcceptedVersions
      • serverAcceptedVersions

        private java.util.function.Predicate<java.lang.String> serverAcceptedVersions
    • Constructor Detail

      • ChannelBuilder

        public ChannelBuilder()