javax.management.snmp
Class SnmpPduTrap

java.lang.Object
  extended byjavax.management.snmp.SnmpPdu
      extended byjavax.management.snmp.SnmpPduPacket
          extended byjavax.management.snmp.SnmpPduTrap
All Implemented Interfaces:
Serializable, SnmpDefinitions

Deprecated. Use package com.sun.management.snmp in preference to classes in this package. This class may be removed in a future version of Java DMK.

public class SnmpPduTrap
extends SnmpPduPacket

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).

Version:
4.10 05/05/04
Author:
Sun Microsystems, Inc
See Also:
Serialized Form

Field Summary
 SnmpIpAddress agentAddr
          Deprecated. Agent address.
 SnmpOid enterprise
          Deprecated. Enterprise object identifier.
 int genericTrap
          Deprecated. Generic trap number.
 int specificTrap
          Deprecated. Specific trap number.
 long timeStamp
          Deprecated. Time-stamp.
 
Fields inherited from class javax.management.snmp.SnmpPduPacket
community
 
Fields inherited from class javax.management.snmp.SnmpPdu
address, port, requestId, type, varBindList, version
 
Fields inherited from interface javax.management.snmp.SnmpDefinitions
authMask, authNoPriv, authPriv, authPrivMask, CtxtConsFlag, noAuthNoPriv, noGroupName, noSuchContext, noSuchView, notInView, pduGetBulkRequestPdu, pduGetNextRequestPdu, pduGetRequestPdu, pduGetResponsePdu, pduInformRequestPdu, pduReportPdu, pduSetRequestPdu, pduV1TrapPdu, pduV2TrapPdu, pduWalkRequest, privMask, reportableFlag, snmpAuthNotSupported, snmpBadSecurityLevel, snmpPrivNotSupported, snmpReqAborted, snmpReqEncodingError, snmpReqHandleTooBig, snmpReqInternalError, snmpReqPacketOverflow, snmpReqRefireAfterVbFix, snmpReqSocketIOError, snmpReqTimeout, snmpReqTooBigImpossible, snmpReqUnknownError, snmpRspAuthorizationError, snmpRspBadValue, snmpRspCommitFailed, snmpRspDecodingError, snmpRspEndOfTable, snmpRspGenErr, snmpRspInconsistentName, snmpRspInconsistentValue, snmpRspNoAccess, snmpRspNoCreation, snmpRspNoError, snmpRspNoSuchName, snmpRspNotWritable, snmpRspReadOnly, snmpRspResourceUnavailable, snmpRspTooBig, snmpRspUndoFailed, snmpRspWrongEncoding, snmpRspWrongLength, snmpRspWrongType, snmpRspWrongValue, snmpUnknownPrincipal, snmpUsmBadEngineId, snmpUsmInvalidTimeliness, snmpUsmSecurityModel, snmpV1AccessControlModel, snmpV1MsgProcessingModel, snmpV1SecurityModel, snmpV2AccessControlModel, snmpV2MsgProcessingModel, snmpV2SecurityModel, snmpV3AccessControlModel, snmpV3MsgProcessingModel, snmpVersionOne, snmpVersionThree, snmpVersionTwo, snmpWrongSnmpVersion, trapAuthenticationFailure, trapColdStart, trapEgpNeighborLoss, trapEnterpriseSpecific, trapLinkDown, trapLinkUp, trapWarmStart
 
Constructor Summary
SnmpPduTrap()
          Deprecated. Builds a new trap PDU.
 
Methods inherited from class javax.management.snmp.SnmpPdu
pduTypeToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enterprise

public SnmpOid enterprise
Deprecated. 
Enterprise object identifier.


agentAddr

public SnmpIpAddress agentAddr
Deprecated. 
Agent address. If the agent address source was not an IPv4 one (e.g. IPv6), this field is null.


genericTrap

public int genericTrap
Deprecated. 
Generic trap number.
The possible values are defined in SnmpDefinitions.


specificTrap

public int specificTrap
Deprecated. 
Specific trap number.


timeStamp

public long timeStamp
Deprecated. 
Time-stamp.

Constructor Detail

SnmpPduTrap

public SnmpPduTrap()
Deprecated. 
Builds a new trap PDU.
type and version fields are initialized with pduV1TrapPdu and snmpVersionOne.


FCS Release
jdmk-5_1-b34.2 2005.11.29_16:24:00_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.