com.sun.management.snmp
Class SnmpPduPacket

java.lang.Object
  extended by com.sun.management.snmp.SnmpPdu
      extended by com.sun.management.snmp.SnmpPduPacket
All Implemented Interfaces:
SnmpDefinitions, Serializable
Direct Known Subclasses:
SnmpPduBulk, SnmpPduRequest, SnmpPduTrap

public abstract class SnmpPduPacket
extends SnmpPdu
implements Serializable

Is the fully decoded representation of an SNMP packet.

You will not usually need to use this class, except if you decide to implement your own SnmpPduFactory object.

Classes are derived from SnmpPduPacket to represent the different forms of SNMP packets (SnmpPduRequest, SnmpPduTrap, SnmpPduBulk).
The SnmpPduPacket class defines the attributes common to every form of SNMP packets.

Since:
Java DMK 5.1
See Also:
SnmpMessage, SnmpPduFactory, Serialized Form

Field Summary
 byte[] community
          The pdu community string.
 
Fields inherited from class com.sun.management.snmp.SnmpPdu
address, port, requestId, type, varBindList, version
 
Fields inherited from interface com.sun.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
SnmpPduPacket()
           
 
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

community

public byte[] community
The pdu community string.

Constructor Detail

SnmpPduPacket

public SnmpPduPacket()

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

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