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

Constructor Index

 o TrapObject(String, String, String, String, String, String, String)
Constructor for a Trap Object.

Method Index

 o getEnterpriseOID()
Returns the Enterprise OID.
 o getGenericTrap()
Returns the Generic Trap of this Trap Response.
 o getInformationOID()
Gets the Information OID.
 o getInformationOIDValue()
Gets the Information Object Identifier Value.
 o getSendingAgent()
Returns the address of the Agent sending the Trap.
 o getSpecificTrap()
Returns the value of Specific Trap.
 o getTimeStamp()
Returns the TimeStamp .

Constructors

 o 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

Methods

 o getEnterpriseOID
 public String getEnterpriseOID()
Returns the Enterprise OID.

Returns:
java.lang.String
 o getGenericTrap
 public String getGenericTrap()
Returns the Generic Trap of this Trap Response.

Returns:
java.lang.String
 o getInformationOID
 public String getInformationOID()
Gets the Information OID.

Returns:
java.lang.String
 o getInformationOIDValue
 public String getInformationOIDValue()
Gets the Information Object Identifier Value.

Returns:
java.lang.String
 o getSendingAgent
 public String getSendingAgent()
Returns the address of the Agent sending the Trap.

Returns:
java.lang.String
 o getSpecificTrap
 public String getSpecificTrap()
Returns the value of Specific Trap.

 o getTimeStamp
 public String getTimeStamp()
Returns the TimeStamp .


All Packages  Class Hierarchy  This Package  Previous  Next  Index