javax.management.snmp
Class SnmpScopedPduPacket

java.lang.Object
  extended byjavax.management.snmp.SnmpPdu
      extended byjavax.management.snmp.SnmpScopedPduPacket
All Implemented Interfaces:
Serializable, SnmpDefinitions
Direct Known Subclasses:
SnmpScopedPduBulk, SnmpScopedPduRequest

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 abstract class SnmpScopedPduPacket
extends SnmpPdu
implements Serializable

Is the fully decoded representation of an SNMP V3 packet.

Classes are derived from SnmpPdu to represent the different forms of SNMP pdu (SnmpScopedPduRequest, SnmpScopedPduBulk).
The SnmpScopedPduPacket class defines the attributes common to every scoped SNMP packets.

Since:
Java DMK 5.0
See Also:
SnmpV3Message, Serialized Form

Field Summary
 byte[] contextEngineId
          Deprecated. The context engine Id in which the pdu must be handled (Generally the local engine Id).
 byte[] contextName
          Deprecated. The context name in which the OID have to be interpreted.
 byte msgFlags
          Deprecated. Message flags.
 int msgId
          Deprecated. Message identifier.
 int msgMaxSize
          Deprecated. Message max size the pdu sender can deal with.
 int msgSecurityModel
          Deprecated. The security model the security sub system MUST use in order to deal with this pdu (e.g.
 SnmpSecurityParameters securityParameters
          Deprecated. The security parameters.
 
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
protected SnmpScopedPduPacket()
          Deprecated. Constructor.
 
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

msgMaxSize

public int msgMaxSize
Deprecated. 
Message max size the pdu sender can deal with.


msgId

public int msgId
Deprecated. 
Message identifier.


msgFlags

public byte msgFlags
Deprecated. 
Message flags. Reportable flag and security level.

 --  .... ...1   authFlag
 --  .... ..1.   privFlag
 --  .... .1..   reportableFlag
 --              Please observe:
 --  .... ..00   is OK, means noAuthNoPriv
 --  .... ..01   is OK, means authNoPriv
 --  .... ..10   reserved, must NOT be used.
 --  .... ..11   is OK, means authPriv


msgSecurityModel

public int msgSecurityModel
Deprecated. 
The security model the security sub system MUST use in order to deal with this pdu (e.g. User based Security Model Id = 3).


contextEngineId

public byte[] contextEngineId
Deprecated. 
The context engine Id in which the pdu must be handled (Generally the local engine Id).


contextName

public byte[] contextName
Deprecated. 
The context name in which the OID have to be interpreted.


securityParameters

public SnmpSecurityParameters securityParameters
Deprecated. 
The security parameters. This is an opaque member that is interpreted by the concerned security model. For Usm, SnmpUsmSecurityParameters.

Constructor Detail

SnmpScopedPduPacket

protected SnmpScopedPduPacket()
Deprecated. 
Constructor. Is only called by a son. Set the version to SnmpDefinitions.snmpVersionThree.


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.