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, UNINITIALIZED
 
Method Summary
 int getActiveClientCount()
          Returns the number of active clients
 String getHost()
          Returns the host name of this server.
 int getPort()
          Returns the adaptor's port number
 String getProtocol()
          Returns the protocol name
 Object getServerSocket()
          Returns the server socket
 long getUptime()
          Gets System up time.
 void setIpAddress(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 String getHost()
               throws UnknownHostException
Returns the host name of this server.

Throws:
UnknownHostException

getPort

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


getProtocol

public String getProtocol()
Returns the protocol name


getServerSocket

public 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(InetAddress address)
Sets server's local address to bind


HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.