public abstract class

SnmpScopedPduPacket

extends SnmpPdu
implements Serializable
java.lang.Object
   ↳ com.sun.jmx.snmp.SnmpPdu
     ↳ com.sun.jmx.snmp.SnmpScopedPduPacket
Known Direct Subclasses

Class Overview

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.

This API is a Sun Microsystems internal API and is subject to change without notice.

See Also

Summary

[Expand]
Inherited Constants
From interface com.sun.jmx.snmp.SnmpDefinitions
Fields
public byte[] contextEngineId The context engine Id in which the pdu must be handled (Generaly the local engine Id).
public byte[] contextName The context name in which the OID have to be interpreted.
public byte msgFlags Message flags.
public int msgId Message identifier.
public int msgMaxSize Message max size the pdu sender can deal with.
public int msgSecurityModel The security model the security sub system MUST use in order to deal with this pdu (eg: User based Security Model Id = 3).
public SnmpSecurityParameters securityParameters The security parameters.
[Expand]
Inherited Fields
From class com.sun.jmx.snmp.SnmpPdu
Protected Constructors
SnmpScopedPduPacket()
Constructor.
[Expand]
Inherited Methods
From class com.sun.jmx.snmp.SnmpPdu
From class java.lang.Object

Fields

public byte[] contextEngineId

The context engine Id in which the pdu must be handled (Generaly the local engine Id).

public byte[] contextName

The context name in which the OID have to be interpreted.

public byte msgFlags

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

public int msgId

Message identifier.

public int msgMaxSize

Message max size the pdu sender can deal with.

public int msgSecurityModel

The security model the security sub system MUST use in order to deal with this pdu (eg: User based Security Model Id = 3).

public SnmpSecurityParameters securityParameters

The security parameters. This is an opaque member that is interpreted by the concerned security model.

Protected Constructors

protected SnmpScopedPduPacket ()

Constructor. Is only called by a son. Set the version to SnmpDefinitions.snmpVersionThree.