All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.network.snmp.protocol.TrapObject
java.lang.Object
|
+----com.ibm.network.snmp.protocol.TrapObject
- public class TrapObject
- extends Object
Trap Object which contains all the data
received as a part of Trap.
- See Also:
- TrapEvent, TrapListener
-
TrapObject(String, String, String, String, String, String, String)
- Constructor for a Trap Object.
-
getEnterpriseOID()
- Returns the Enterprise OID.
-
getGenericTrap()
- Returns the Generic Trap of this Trap Response.
-
getInformationOID()
- Gets the Information OID.
-
getInformationOIDValue()
- Gets the Information Object Identifier Value.
-
getSendingAgent()
- Returns the address of the Agent sending the Trap.
-
getSpecificTrap()
- Returns the value of Specific Trap.
-
getTimeStamp()
- Returns the TimeStamp .
TrapObject
public TrapObject(String enterpriseOID,
String sendingAddress,
String genericTrap,
String specificTrap,
String timeStamp,
String infoOID,
String infoValue)
- Constructor for a Trap Object.
- Parameters:
- oid - java.lang.String
- value - java.lang.String
- agentIP - java.lang.String
- reqID - long
getEnterpriseOID
public String getEnterpriseOID()
- Returns the Enterprise OID.
- Returns:
- java.lang.String
getGenericTrap
public String getGenericTrap()
- Returns the Generic Trap of this Trap Response.
- Returns:
- java.lang.String
getInformationOID
public String getInformationOID()
- Gets the Information OID.
- Returns:
- java.lang.String
getInformationOIDValue
public String getInformationOIDValue()
- Gets the Information Object Identifier Value.
- Returns:
- java.lang.String
getSendingAgent
public String getSendingAgent()
- Returns the address of the Agent sending the Trap.
- Returns:
- java.lang.String
getSpecificTrap
public String getSpecificTrap()
- Returns the value of Specific Trap.
getTimeStamp
public String getTimeStamp()
- Returns the TimeStamp .
All Packages Class Hierarchy This Package Previous Next Index