com.sun.jdmk.comm
Interface GenericHttpConnectorServerMBean

All Superinterfaces:
CommunicatorServerMBean
All Known Subinterfaces:
HttpConnectorServerMBean, HttpsConnectorServerMBean
All Known Implementing Classes:
HttpConnectorServer, HttpsConnectorServer

Deprecated. The JMX Remote API should be used in preference to the legacy Java DMK connector classes. This class may be removed in a future version of Java DMK. See JdmkLegacyConnector.

public interface GenericHttpConnectorServerMBean
extends CommunicatorServerMBean


Method Summary
 int getActiveClientCount()
          Deprecated. Gets the number of clients currently being processed by this connector.
 String getLastConnectedClient()
          Deprecated. Gets the IP address of the last connected client.
 int getMaxActiveClientCount()
          Deprecated. Gets the maximum number of clients that this connector can process concurrently.
 int getServedClientCount()
          Deprecated. Gets the number of clients that have been processed by this connector since its creation.
 boolean isAuthenticationOn()
          Deprecated. Returns true if the list of users supported by this connector server is not empty.
 void setMaxActiveClientCount(int c)
          Deprecated. Sets the maximum number of clients this connector can process concurrently.
 
Methods inherited from interface com.sun.jdmk.comm.CommunicatorServerMBean
getHost, getPort, getProtocol, getState, getStateString, isActive, setPort, start, stop, waitState
 

Method Detail

isAuthenticationOn

boolean isAuthenticationOn()
Deprecated. 
Returns true if the list of users supported by this connector server is not empty.

Returns:
true, if the list of users supported by this server is not empty; false, if the list of supported users is empty so no authentication is performed by this server.

getLastConnectedClient

String getLastConnectedClient()
Deprecated. 
Gets the IP address of the last connected client. This function uses the string representation of java.net.InetAddress.

Returns:
The IP address of the last connected client.

getServedClientCount

int getServedClientCount()
Deprecated. 
Gets the number of clients that have been processed by this connector since its creation.

Returns:
The number of clients handled by this connector since its creation. This counter is not reset by the stop method.

getActiveClientCount

int getActiveClientCount()
Deprecated. 
Gets the number of clients currently being processed by this connector.

Returns:
The number of clients currently being processed by this connector.

getMaxActiveClientCount

int getMaxActiveClientCount()
Deprecated. 
Gets the maximum number of clients that this connector can process concurrently.

Returns:
The maximum number of clients that this connector can process concurrently.

setMaxActiveClientCount

void setMaxActiveClientCount(int c)
                             throws IllegalStateException
Deprecated. 
Sets the maximum number of clients this connector can process concurrently.

Parameters:
c - The number of clients.
Throws:
IllegalStateException - This method has been invoked while this connector was ONLINE or STARTING.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.