HOME

com.ireasoning.core.jmx
Interface AdaptorServerMBean

All Superinterfaces:
Service, ServiceMBean, State
All Known Implementing Classes:
AdaptorServer

public interface AdaptorServerMBean
extends ServiceMBean

Adaptor 's MBean interface


Field Summary
 
Fields inherited from interface com.ireasoning.core.jmx.State
STARTED, STARTING, STATES, STOPPED, STOPPING
 
Method Summary
 int getActiveClientCount()
          Returns the number of active clients
 java.lang.String getHost()
          Returns the host name of this server.
 int getPort()
          Returns the adaptor's port number
 java.lang.String getProtocol()
          Returns the protocol name
 java.lang.Object getServerSocket()
          Returns the server socket
 long getUptime()
          Gets System up time.
 void setIpAddress(java.net.InetAddress address)
          Sets server's local address to bind
 void setMaxConnections(int maxConns)
          Sets maximum number of concurrent connections
 void setPort(int port)
          Sets server port number
 
Methods inherited from interface com.ireasoning.core.jmx.ServiceMBean
getName
 
Methods inherited from interface com.ireasoning.core.jmx.Service
startService, stopService
 
Methods inherited from interface com.ireasoning.core.jmx.State
getState, getStateString
 

Method Detail

getHost

public java.lang.String getHost()
                         throws java.net.UnknownHostException
Returns the host name of this server.

Throws:
java.net.UnknownHostException

getPort

public int getPort()
Returns the adaptor's port number


getProtocol

public java.lang.String getProtocol()
Returns the protocol name


getServerSocket

public java.lang.Object getServerSocket()
Returns the server socket


getUptime

public long getUptime()
Gets System up time.


getActiveClientCount

public int getActiveClientCount()
Returns the number of active clients


setMaxConnections

public void setMaxConnections(int maxConns)
Sets maximum number of concurrent connections


setPort

public void setPort(int port)
Sets server port number


setIpAddress

public void setIpAddress(java.net.InetAddress address)
Sets server's local address to bind


HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.