|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.snmp.SnmpPdu
com.sun.management.snmp.SnmpPduPacket
com.sun.management.snmp.SnmpPduTrap
Represents an SNMPv1-trap PDU.
You will not usually need to use this class, except if you
decide to implement your own
SnmpPduFactory
object.
The SnmpPduTrap
extends SnmpPduPacket
and defines attributes specific to an SNMPv1 trap (see RFC1157).
Field Summary | |
SnmpIpAddress |
agentAddr
Agent address. |
SnmpOid |
enterprise
Enterprise object identifier. |
int |
genericTrap
Generic trap number. |
int |
specificTrap
Specific trap number. |
long |
timeStamp
Time-stamp. |
Fields inherited from class com.sun.management.snmp.SnmpPduPacket |
community |
Fields inherited from class com.sun.management.snmp.SnmpPdu |
address, port, requestId, type, varBindList, version |
Constructor Summary | |
SnmpPduTrap()
Builds a new trap PDU. |
Methods inherited from class com.sun.management.snmp.SnmpPdu |
pduTypeToString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public SnmpOid enterprise
public SnmpIpAddress agentAddr
public int genericTrap
SnmpDefinitions
.
public int specificTrap
public long timeStamp
Constructor Detail |
public SnmpPduTrap()
type
and version
fields are initialized with
pduV1TrapPdu
and snmpVersionOne
.
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |