|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ireasoning.util.TrapNode
This class is a data structure representing SNMPV1 or SNMPV2 Traps in MIBs.
Constructor Summary | |
TrapNode()
Constructor |
|
TrapNode(MibTreeNode node)
Constructs a TrapNode based on passed in SnmpV2 NOTIFICATION-TYPE object. |
Method Summary | |
String |
getDescription()
|
String |
getEnterprise()
Returns the enterprise value |
String |
getEnterpriseOID()
Returns the enterprise oid |
MibTreeNode |
getMibTreeNode()
Returns the MIB tree node object if this is a v2/v3 trap node. |
String |
getName()
Returns trap name |
String[] |
getObjects()
Returns the VARIABLE or OBJECTS clause |
String[] |
getObjectsOIDs()
Returns variables or objects' corresponding OIDs, the same as getVariableOIDs method |
int |
getTrapNumber()
Gets SNMPv1 trap number |
String[] |
getVariableOIDs()
Returns variables or objects' corresponding OIDs |
String[] |
getVariables()
Returns the VARIABLE or OBJECTS clause |
int |
getVersion()
Returns the trap version, one of {SnmpConst.SNMPV1, SnmpConst.SNMPV2} |
boolean |
isGeneric()
Returns true if it's SNMPv1 generic trap type |
void |
setEnterprise(String enterprise)
|
void |
setEnterpriseOID(String enterpriseOID)
|
void |
setName(String s)
|
void |
setObjects(String[] s)
|
void |
setObjectsOIDs(String[] s)
|
void |
setTrapNumber(int i)
|
void |
setValue(MibTreeNode node)
Initializes itself based on values contained in passed node object |
void |
setVariableOIDs(String[] s)
|
void |
setVariables(String[] s)
|
void |
setVersion(int i)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TrapNode()
public TrapNode(MibTreeNode node)
Method Detail |
public void setValue(MibTreeNode node)
public MibTreeNode getMibTreeNode()
public int getTrapNumber()
public void setTrapNumber(int i)
public String getName()
public void setName(String s)
public String[] getVariables()
public void setVariables(String[] s)
public String[] getObjects()
getVariables()
public void setObjects(String[] s)
public String[] getVariableOIDs()
public void setVariableOIDs(String[] s)
public String[] getObjectsOIDs()
getVariableOIDs()
public void setObjectsOIDs(String[] s)
setVariableOIDs(java.lang.String[])
public int getVersion()
public void setVersion(int i)
public String getEnterprise()
public void setEnterprise(String enterprise)
public boolean isGeneric()
public String getEnterpriseOID()
public void setEnterpriseOID(String enterpriseOID)
public String getDescription()
public String toString()
|
HOME | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |