|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.adaptors.snmp.SnmpGroup
public class SnmpGroup
This class acts as a mbean for the Snmp group counter values as specified in the RFC-1213 mib for the snmp agent. By default this gets instantiated and registered with the MBeanServer when the SnmpAdaptor gets registered with the server. Thus providing the snmp group instrumentation for the snmp agent. It gets registered with the server with the ObjectName as
SnmpGroup| Constructor Summary | |
|---|---|
SnmpGroup()
The NoArg constructor |
|
SnmpGroup(PropertyRegistrationListener prl,
SnmpAdaptor adaptor)
The constructor which takes PropertyRegistrationListener as argument. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String attribute)
Gets the value of a specific attribute of this MBean. |
javax.management.AttributeList |
getAttributes(java.lang.String[] attributes)
Enables the values of several attributes of this MBean. |
javax.management.MBeanInfo |
getMBeanInfo()
This method discovers the attributes and operations this MBean exposes for management. |
java.lang.Integer |
getSnmpEnableAuthenTraps()
Handles the SNMP Get Request for snmpEnableAuthenTraps |
java.lang.Long |
getSnmpInASNParseErrs()
Handles the SNMP Get Request for snmpInASNParseErrs |
java.lang.Long |
getSnmpInBadCommunityNames()
Handles the SNMP Get Request for snmpInBadCommunityNames |
java.lang.Long |
getSnmpInBadCommunityUses()
Handles the SNMP Get Request for snmpInBadCommunityUses |
java.lang.Long |
getSnmpInBadValues()
Handles the SNMP Get Request for snmpInBadValues |
java.lang.Long |
getSnmpInBadVersions()
Handles the SNMP Get Request for snmpInBadVersions |
java.lang.Long |
getSnmpInGenErrs()
Handles the SNMP Get Request for snmpInGenErrs |
java.lang.Long |
getSnmpInGetNexts()
Handles the SNMP Get Request for snmpInGetNexts |
java.lang.Long |
getSnmpInGetRequests()
Handles the SNMP Get Request for snmpInGetRequests |
java.lang.Long |
getSnmpInGetResponses()
Handles the SNMP Get Request for snmpInGetResponses |
java.lang.Long |
getSnmpInNoSuchNames()
Handles the SNMP Get Request for snmpInNoSuchNames |
java.lang.Long |
getSnmpInPkts()
Handles the SNMP Get Request for snmpInPkts |
java.lang.Long |
getSnmpInReadOnlys()
Handles the SNMP Get Request for snmpInReadOnlys |
java.lang.Long |
getSnmpInSetRequests()
Handles the SNMP Get Request for snmpInSetRequests |
java.lang.Long |
getSnmpInTooBigs()
Handles the SNMP Get Request for snmpInTooBigs |
java.lang.Long |
getSnmpInTotalReqVars()
Handles the SNMP Get Request for snmpInTotalReqVars |
java.lang.Long |
getSnmpInTotalSetVars()
Handles the SNMP Get Request for snmpInTotalSetVars |
java.lang.Long |
getSnmpInTraps()
Handles the SNMP Get Request for snmpInTraps |
java.lang.Long |
getSnmpOutBadValues()
Handles the SNMP Get Request for snmpOutBadValues |
java.lang.Long |
getSnmpOutGenErrs()
Handles the SNMP Get Request for snmpOutGenErrs |
java.lang.Long |
getSnmpOutGetNexts()
Handles the SNMP Get Request for snmpOutGetNexts |
java.lang.Long |
getSnmpOutGetRequests()
Handles the SNMP Get Request for snmpOutGetRequests |
java.lang.Long |
getSnmpOutGetResponses()
Handles the SNMP Get Request for snmpOutGetResponses |
java.lang.Long |
getSnmpOutNoSuchNames()
Handles the SNMP Get Request for snmpOutNoSuchNames |
java.lang.Long |
getSnmpOutPkts()
Handles the SNMP Get Request for snmpOutPkts |
java.lang.Long |
getSnmpOutSetRequests()
Handles the SNMP Get Request for snmpOutSetRequests |
java.lang.Long |
getSnmpOutTooBigs()
Handles the SNMP Get Request for snmpOutTooBigs |
java.lang.Long |
getSnmpOutTraps()
Handles the SNMP Get Request for snmpOutTraps |
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
Invokes an action on this MBean. |
void |
setAttribute(javax.management.Attribute attribute)
Sets the value of a specific attribute of this MBean. |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes)
Sets the values of several attributes of this MBean. |
(package private) void |
setPropertyRegistrationListener(PropertyRegistrationListener prl)
|
void |
setSnmpEnableAuthenTraps(java.lang.Integer val)
Handles the SNMP Set Request for snmpEnableAuthenTraps |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SnmpGroup()
public SnmpGroup(PropertyRegistrationListener prl, SnmpAdaptor adaptor)
prl - The PropertyRegistrationListener for this Groupadaptor - The SnmpAdaptor for this group| Method Detail |
|---|
void setPropertyRegistrationListener(PropertyRegistrationListener prl)
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo in interface javax.management.DynamicMBean
public java.lang.Object getAttribute(java.lang.String attribute)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
getAttribute in interface javax.management.DynamicMBeanattribute - A String specifying the name of the
attribute to be retrieved.
javax.management.AttributeNotFoundException - if the attibute
is not found.
javax.management.MBeanException - for MBean exceptions.
javax.management.ReflectionException - this wraps all the
exceptions during Reflection.public javax.management.AttributeList getAttributes(java.lang.String[] attributes)
getAttributes in interface javax.management.DynamicMBeanattributes - A list of attributes to be retrieved.
public java.lang.Object invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
throws javax.management.MBeanException,
javax.management.ReflectionException
invoke in interface javax.management.DynamicMBeanactionName - The name of the action to be invoked.params - An array containing the parameters to be
set when the action is invokedsignature - An array containing the signature of
the action. The class objects will be loaded using the
same class loader as the one used for loading the MBean
on which the action was invoked.
javax.management.MBeanException - for MBean exceptions.
javax.management.ReflectionException - this wraps all the
exceptions during Reflection.
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
setAttribute in interface javax.management.DynamicMBeanattribute - The identification of the attribute to
be set and the value it is to be set to.
javax.management.AttributeNotFoundException - if the attibute
is not found.
javax.management.InvalidAttributeValueException - if the
value of the attibute is not valid.
javax.management.MBeanException - for MBean exceptions.
javax.management.ReflectionException - this wraps all the
exceptions during Reflection.public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes in interface javax.management.DynamicMBeanattributes - A list of attributes: The identification
of the attributes to be set and the values they are to be set to.
public java.lang.Long getSnmpInPkts()
public java.lang.Long getSnmpOutPkts()
public java.lang.Long getSnmpInBadVersions()
public java.lang.Long getSnmpInBadCommunityNames()
public java.lang.Long getSnmpInBadCommunityUses()
public java.lang.Long getSnmpInASNParseErrs()
public java.lang.Long getSnmpInTooBigs()
public java.lang.Long getSnmpInNoSuchNames()
public java.lang.Long getSnmpInBadValues()
public java.lang.Long getSnmpInReadOnlys()
public java.lang.Long getSnmpInGenErrs()
public java.lang.Long getSnmpInTotalReqVars()
public java.lang.Long getSnmpInTotalSetVars()
public java.lang.Long getSnmpInGetRequests()
public java.lang.Long getSnmpInGetNexts()
public java.lang.Long getSnmpInSetRequests()
public java.lang.Long getSnmpInGetResponses()
public java.lang.Long getSnmpInTraps()
public java.lang.Long getSnmpOutTooBigs()
public java.lang.Long getSnmpOutNoSuchNames()
public java.lang.Long getSnmpOutBadValues()
public java.lang.Long getSnmpOutGenErrs()
public java.lang.Long getSnmpOutGetRequests()
public java.lang.Long getSnmpOutGetNexts()
public java.lang.Long getSnmpOutSetRequests()
public java.lang.Long getSnmpOutGetResponses()
public java.lang.Long getSnmpOutTraps()
public java.lang.Integer getSnmpEnableAuthenTraps()
public void setSnmpEnableAuthenTraps(java.lang.Integer val)
val - the value to be set to EnableAuthenTraps
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||