|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnmpAgentServiceMBean
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 |
---|
int getHeartBeatPeriod()
void setHeartBeatPeriod(int heartBeatPeriod)
long getInstantiationTime()
long getUptime()
long getTrapCount()
void setManagersResName(String managersResName)
String getManagersResName()
void setNotificationMapResName(String notificationMapResName)
String getNotificationMapResName()
void setTrapFactoryClassName(String name)
String getTrapFactoryClassName()
void setTimerName(javax.management.ObjectName timerName)
javax.management.ObjectName getTimerName()
void setBindAddress(String bindAddress) throws UnknownHostException
UnknownHostException
String getBindAddress()
void setNumberOfThreads(int numberOfThreads)
int getNumberOfThreads()
void setPort(int port)
int getPort()
void setSnmpVersion(int snmpVersion)
int getSnmpVersion()
void setReadCommunity(String readCommunity)
void setWriteCommunity(String writeCommunity)
void setRequestHandlerClassName(String requestHandlerClassName)
String getRequestHandlerClassName()
void setRequestHandlerResName(String requestHandlerResName)
String getRequestHandlerResName()
void setDynamicSubscriptions(boolean dynamicSubscriptions)
boolean getDynamicSubscriptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |