JSCAPE MFT Server

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

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

public class MaxConcurrentConnectionsServiceDescriptor
extends java.lang.Object
implements ServiceDescriptor

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

Author:
Alex Usun

Field Summary
static int DEFAULT_VALUE
           
 
Constructor Summary
MaxConcurrentConnectionsServiceDescriptor()
          This constructor is used by serialization sub-system and is not intended to use directly in client code.
MaxConcurrentConnectionsServiceDescriptor(int value)
          Creates a new descriptor instance.
 
Method Summary
 int getValue()
          Returns max concurrent connections.
 void setValue(int value)
          Sets max concurrent connections.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_VALUE

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

MaxConcurrentConnectionsServiceDescriptor

public MaxConcurrentConnectionsServiceDescriptor(int value)
Creates a new descriptor instance.

Parameters:
value - max concurrent connections

MaxConcurrentConnectionsServiceDescriptor

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

Method Detail

getValue

public int getValue()
Returns max concurrent connections.

Returns:
max concurrent connections

setValue

public void setValue(int value)
Sets max concurrent connections.

Parameters:
value - max concurrent connections

toString

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

JSCAPE MFT Server

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