Class MaxUserConnectionsServiceDescriptor
- java.lang.Object
-
- com.jscape.inet.mft.management.descriptors.Configuration
-
- com.jscape.inet.mft.management.descriptors.ServiceDescriptor
-
- com.jscape.inet.mft.management.descriptors.MaxUserConnectionsServiceDescriptor
-
- All Implemented Interfaces:
com.jscape.util.db.IntVersioned,java.io.Serializable
public class MaxUserConnectionsServiceDescriptor extends ServiceDescriptor
User 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 MaxUserConnectionsServiceDescriptor()This constructor is used by serialization sub-system and is not intended to use directly in client code.MaxUserConnectionsServiceDescriptor(MaxUserConnectionsServiceDescriptor that)MaxUserConnectionsServiceDescriptor(java.lang.Integer maxConnections, int version)Creates a new descriptor instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configurationcopy()java.lang.IntegergetMaxConnections()Returns max User connections.voidsetMaxConnections(java.lang.Integer maxConnections)Sets max user connections.java.lang.StringtoString()-
Methods inherited from class com.jscape.inet.mft.management.descriptors.Configuration
getVersion, setVersion
-
-
-
-
Constructor Detail
-
MaxUserConnectionsServiceDescriptor
public MaxUserConnectionsServiceDescriptor(java.lang.Integer maxConnections, int version)Creates a new descriptor instance.- Parameters:
maxConnections- max user connections
-
MaxUserConnectionsServiceDescriptor
public MaxUserConnectionsServiceDescriptor(MaxUserConnectionsServiceDescriptor that)
-
MaxUserConnectionsServiceDescriptor
public MaxUserConnectionsServiceDescriptor()
This constructor is used by serialization sub-system and is not intended to use directly in client code.
-
-
Method Detail
-
getMaxConnections
public java.lang.Integer getMaxConnections()
Returns max User connections.- Returns:
- max user connections
-
setMaxConnections
public void setMaxConnections(java.lang.Integer maxConnections)
Sets max user connections.- Parameters:
maxConnections- max user connections
-
copy
public Configuration copy()
- Specified by:
copyin classConfiguration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-