Class AbstractProtocolDescriptor

    • Constructor Detail

      • AbstractProtocolDescriptor

        protected AbstractProtocolDescriptor​(int version,
                                             int architecture,
                                             int minimumType,
                                             int maximumType,
                                             boolean supportsWireCompression,
                                             int weight)
        Initializes the basic ProtocolDescriptor fields.
        Parameters:
        version - Version of the protocol
        architecture - Architecture of the protocol
        minimumType - Minimum supported protocol type
        maximumType - Maximum supported protocol type
        supportsWireCompression - true if this version supports zlib wire compression
        weight - Selection weight (higher values have higher preference)