Class MaxIPConnectionsServiceDescriptor
- java.lang.Object
-
- com.jscape.inet.mft.management.descriptors.Configuration
-
- com.jscape.inet.mft.management.descriptors.ServiceDescriptor
-
- com.jscape.inet.mft.management.descriptors.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 Summary
Constructors Constructor Description MaxIPConnectionsServiceDescriptor()This constructor is used by serialization sub-system and is not intended to use directly in client code.MaxIPConnectionsServiceDescriptor(MaxIPConnectionsServiceDescriptor that)MaxIPConnectionsServiceDescriptor(java.lang.Integer value, int version)Creates a new descriptor instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configurationcopy()java.lang.IntegergetValue()Returns max IP connections.voidsetValue(java.lang.Integer value)Sets max IP connections.java.lang.StringtoString()-
Methods inherited from class com.jscape.inet.mft.management.descriptors.Configuration
getVersion, setVersion
-
-
-
-
Constructor Detail
-
MaxIPConnectionsServiceDescriptor
public MaxIPConnectionsServiceDescriptor(java.lang.Integer value, int version)Creates a new descriptor instance.- Parameters:
value- max IP connections
-
MaxIPConnectionsServiceDescriptor
public MaxIPConnectionsServiceDescriptor(MaxIPConnectionsServiceDescriptor that)
-
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
-
copy
public Configuration copy()
- Specified by:
copyin classConfiguration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-