Class MaxIPConnectionsServiceDescriptor

  • All Implemented Interfaces:
    com.jscape.util.db.IntVersioned, java.io.Serializable

    public class MaxIPConnectionsServiceDescriptor
    extends ServiceDescriptor
    IP connection service descriptor. The service described by this descriptor takes responsibility for limiting server access.
    Author:
    Alex Usun
    See Also:
    Serialized Form
    • Constructor Detail

      • MaxIPConnectionsServiceDescriptor

        public MaxIPConnectionsServiceDescriptor​(java.lang.Integer value,
                                                 int version)
        Creates a new descriptor instance.
        Parameters:
        value - max IP connections
      • MaxIPConnectionsServiceDescriptor

        public MaxIPConnectionsServiceDescriptor()
        This constructor is used by serialization sub-system and is not intended to use directly in client code.
    • Method Detail

      • getValue

        public java.lang.Integer getValue()
        Returns max IP connections.
        Returns:
        max IP connections
      • setValue

        public void setValue​(java.lang.Integer value)
        Sets max IP connections.
        Parameters:
        value - max IP connections
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object