org.jboss.jmx.adaptor.snmp.agent
Interface SnmpAgentServiceMBean

All Superinterfaces:
org.jboss.system.ListenerServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
SnmpAgentService

public interface SnmpAgentServiceMBean
extends org.jboss.system.ListenerServiceMBean

MBean interface.


Field Summary
 
Fields inherited from interface org.jboss.system.ListenerServiceMBean
SL_FILTER_ELEMENT, SL_FILTER_FACTORY_ATTRIBUTE, SL_MBEAN_ELEMENT, SL_MBEAN_HANDBACK_ATTRIBUTE, SL_MBEAN_NAME_ATTRIBUTE, SL_NOTIFICATION_ELEMENT, SL_NOTIFICATION_TYPE_ATTRIBUTE, SL_ROOT_ELEMENT
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 String getBindAddress()
          Gets the agent bind address
 boolean getDynamicSubscriptions()
          Gets the dynamic subscriptions status
 int getHeartBeatPeriod()
          Gets the heartbeat switch
 long getInstantiationTime()
          Returns the difference, measured in milliseconds, between the instantiation time and midnight, January 1, 1970 UTC.
 String getManagersResName()
          Gets the name of the file containing SNMP manager specifications
 String getNotificationMapResName()
          Gets the name of the file containing the notification/trap mappings
 int getNumberOfThreads()
          Gets the number of threads in the agent requests processing thread pool
 int getPort()
          Gets the agent listening port number
 String getRequestHandlerClassName()
          Gets the RequestHandler implementation class
 String getRequestHandlerResName()
          Gets the resource file name containing get/set mappings
 int getSnmpVersion()
          Gets the snmp protocol version
 javax.management.ObjectName getTimerName()
          Gets the utilised timer MBean name
 long getTrapCount()
          Returns the current trap counter reading
 String getTrapFactoryClassName()
          Gets the utilised trap factory name
 long getUptime()
          Returns the up-time
 void setBindAddress(String bindAddress)
          Sets the agent bind address
 void setDynamicSubscriptions(boolean dynamicSubscriptions)
          Enables/disables dynamic subscriptions
 void setHeartBeatPeriod(int heartBeatPeriod)
          Sets the heartbeat period (in seconds) switch
 void setManagersResName(String managersResName)
          Sets the name of the file containing SNMP manager specifications
 void setNotificationMapResName(String notificationMapResName)
          Sets the name of the file containing the notification/trap mappings
 void setNumberOfThreads(int numberOfThreads)
          Sets the number of threads in the agent request processing thread pool
 void setPort(int port)
          Sets the agent listening port number
 void setReadCommunity(String readCommunity)
          Sets the read community (no getter)
 void setRequestHandlerClassName(String requestHandlerClassName)
          Sets the RequestHandler implementation class
 void setRequestHandlerResName(String requestHandlerResName)
          Sets the resource file name containing get/set mappings
 void setSnmpVersion(int snmpVersion)
          Sets the snmp protocol version
 void setTimerName(javax.management.ObjectName timerName)
          Sets the utilised timer MBean name
 void setTrapFactoryClassName(String name)
          Sets the utilised trap factory name
 void setWriteCommunity(String writeCommunity)
          Sets the write community (no getter)
 
Methods inherited from interface org.jboss.system.ListenerServiceMBean
setSubscriptionList
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getHeartBeatPeriod

int getHeartBeatPeriod()
Gets the heartbeat switch


setHeartBeatPeriod

void setHeartBeatPeriod(int heartBeatPeriod)
Sets the heartbeat period (in seconds) switch


getInstantiationTime

long getInstantiationTime()
Returns the difference, measured in milliseconds, between the instantiation time and midnight, January 1, 1970 UTC.


getUptime

long getUptime()
Returns the up-time


getTrapCount

long getTrapCount()
Returns the current trap counter reading


setManagersResName

void setManagersResName(String managersResName)
Sets the name of the file containing SNMP manager specifications


getManagersResName

String getManagersResName()
Gets the name of the file containing SNMP manager specifications


setNotificationMapResName

void setNotificationMapResName(String notificationMapResName)
Sets the name of the file containing the notification/trap mappings


getNotificationMapResName

String getNotificationMapResName()
Gets the name of the file containing the notification/trap mappings


setTrapFactoryClassName

void setTrapFactoryClassName(String name)
Sets the utilised trap factory name


getTrapFactoryClassName

String getTrapFactoryClassName()
Gets the utilised trap factory name


setTimerName

void setTimerName(javax.management.ObjectName timerName)
Sets the utilised timer MBean name


getTimerName

javax.management.ObjectName getTimerName()
Gets the utilised timer MBean name


setBindAddress

void setBindAddress(String bindAddress)
                    throws UnknownHostException
Sets the agent bind address

Throws:
UnknownHostException

getBindAddress

String getBindAddress()
Gets the agent bind address


setNumberOfThreads

void setNumberOfThreads(int numberOfThreads)
Sets the number of threads in the agent request processing thread pool


getNumberOfThreads

int getNumberOfThreads()
Gets the number of threads in the agent requests processing thread pool


setPort

void setPort(int port)
Sets the agent listening port number


getPort

int getPort()
Gets the agent listening port number


setSnmpVersion

void setSnmpVersion(int snmpVersion)
Sets the snmp protocol version


getSnmpVersion

int getSnmpVersion()
Gets the snmp protocol version


setReadCommunity

void setReadCommunity(String readCommunity)
Sets the read community (no getter)


setWriteCommunity

void setWriteCommunity(String writeCommunity)
Sets the write community (no getter)


setRequestHandlerClassName

void setRequestHandlerClassName(String requestHandlerClassName)
Sets the RequestHandler implementation class


getRequestHandlerClassName

String getRequestHandlerClassName()
Gets the RequestHandler implementation class


setRequestHandlerResName

void setRequestHandlerResName(String requestHandlerResName)
Sets the resource file name containing get/set mappings


getRequestHandlerResName

String getRequestHandlerResName()
Gets the resource file name containing get/set mappings


setDynamicSubscriptions

void setDynamicSubscriptions(boolean dynamicSubscriptions)
Enables/disables dynamic subscriptions


getDynamicSubscriptions

boolean getDynamicSubscriptions()
Gets the dynamic subscriptions status



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.