FileDocCategorySizeDatePackage
SnmpScopedPduPacket.javaAPI DocJava SE 5 API2599Fri Aug 26 14:55:04 BST 2005com.sun.jmx.snmp

SnmpScopedPduPacket

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 ({@link com.sun.jmx.snmp.SnmpScopedPduRequest SnmpScopedPduRequest}, {@link com.sun.jmx.snmp.SnmpScopedPduBulk 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
SnmpV3Message
since
1.5

Fields Summary
public int
msgMaxSize
Message max size the pdu sender can deal with.
public int
msgId
Message identifier.
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
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 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 com.sun.jmx.snmp.SnmpSecurityParameters
securityParameters
The security parameters. This is an opaque member that is interpreted by the concerned security model.
Constructors Summary
protected SnmpScopedPduPacket()
Constructor. Is only called by a son. Set the version to SnmpDefinitions.snmpVersionThree.


                     
      
	version = SnmpDefinitions.snmpVersionThree;
    
Methods Summary