JSCAPE MFT Server

com.jscape.inet.mft.management.descriptors
Class MaxUserConnectionsServiceDescriptor

java.lang.Object
  extended by com.jscape.inet.mft.management.descriptors.MaxUserConnectionsServiceDescriptor
All Implemented Interfaces:
ServiceDescriptor

public class MaxUserConnectionsServiceDescriptor
extends java.lang.Object
implements ServiceDescriptor

User connection service descriptor. The service described by this descriptor takes responsibility for limiting server access.

Author:
Alex Usun

Field Summary
static int DEFAULT_MAX_CONNECTIONS
           
 
Constructor Summary
MaxUserConnectionsServiceDescriptor()
          This constructor is used by serialization sub-system and is not intended to use directly in client code.
MaxUserConnectionsServiceDescriptor(java.lang.Integer maxConnections)
          Creates a new descriptor instance.
 
Method Summary
 java.lang.Integer getMaxConnections()
          Returns max User connections.
 void setMaxConnections(java.lang.Integer maxConnections)
          Sets max user connections.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_MAX_CONNECTIONS

public static final int DEFAULT_MAX_CONNECTIONS
See Also:
Constant Field Values
Constructor Detail

MaxUserConnectionsServiceDescriptor

public MaxUserConnectionsServiceDescriptor(java.lang.Integer maxConnections)
Creates a new descriptor instance.

Parameters:
maxConnections - max user connections

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

toString

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

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2013. All Rights Reserved