HOME

com.ireasoning.core.jmx
Interface AdaptorServerMBean

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

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
 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

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

Throws:
java.net.UnknownHostException

getPort

int getPort()
Returns the adaptor's port number


getProtocol

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


getServerSocket

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


getUptime

long getUptime()
Gets System up time.


getActiveClientCount

int getActiveClientCount()
Returns the number of active clients


setMaxConnections

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


setPort

void setPort(int port)
Sets server port number


setIpAddress

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


HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.