|
||||||||||
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
public class 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. |
Method Summary |
---|
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
.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |