Uses of Class
com.sun.management.snmp.SnmpMsg

Packages that use SnmpMsg
com.sun.management.snmp Provides the core classes for implementing common SNMP data types and services
com.sun.management.snmp.mpm Provides the classes which implement the Message Processing Models for SNMP version 1, version 2c and version 3. 
 

Uses of SnmpMsg in com.sun.management.snmp
 

Subclasses of SnmpMsg in com.sun.management.snmp
 class SnmpMessage
          Is a partially decoded representation of an SNMP packet.
 class SnmpV3Message
          Is a partially decoded representation of an SNMP V3 packet.
 

Methods in com.sun.management.snmp that return SnmpMsg
 SnmpMsg SnmpPduFactoryBER.encodeSnmpPdu(SnmpPdu pdu, int maxPktSize)
          Encodes the specified SnmpPdu and returns the resulting SnmpMsg.
 SnmpMsg SnmpPduFactory.encodeSnmpPdu(SnmpPdu pdu, int maxPktSize)
          Encodes the specified SnmpPdu and returns the resulting SnmpMsg.
 

Methods in com.sun.management.snmp with parameters of type SnmpMsg
 SnmpPdu SnmpPduFactoryBER.decodeSnmpPdu(SnmpMsg msg)
          Calls SnmpMsg.decodeSnmpPdu on the specified message and returns the resulting SnmpPdu.
 SnmpPdu SnmpPduFactory.decodeSnmpPdu(SnmpMsg msg)
          Decodes the specified SnmpMsg and returns the resulting SnmpPdu.
 

Uses of SnmpMsg in com.sun.management.snmp.mpm
 

Methods in com.sun.management.snmp.mpm with parameters of type SnmpMsg
 int SnmpMsgTranslatorV3.getMsgId(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 int SnmpMsgTranslatorV3.getMsgMaxSize(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 byte SnmpMsgTranslatorV3.getMsgFlags(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 int SnmpMsgTranslatorV3.getSecurityLevel(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 int SnmpMsgTranslatorV3.getMsgSecurityModel(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 byte[] SnmpMsgTranslatorV3.getFlatSecurityParameters(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 SnmpSecurityParameters SnmpMsgTranslatorV3.getSecurityParameters(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 byte[] SnmpMsgTranslatorV3.getContextEngineId(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 byte[] SnmpMsgTranslatorV3.getContextName(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 byte[] SnmpMsgTranslatorV3.getRawContextName(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 byte[] SnmpMsgTranslatorV3.getAccessContext(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 byte[] SnmpMsgTranslatorV3.getEncryptedPdu(SnmpMsg msg)
          See SnmpMsgTranslator interface doc.
 void SnmpMsgTranslatorV3.setContextName(SnmpMsg msg, byte[] contextName)
          See SnmpMsgTranslator interface doc.
 void SnmpMsgTranslatorV3.setContextEngineId(SnmpMsg msg, byte[] contextEngineId)
          See SnmpMsgTranslator interface doc.
 byte[] SnmpMsgTranslatorCs2Ctxt.getContextName(SnmpMsg msg)
          A context name can be added at the end of the community string via @ separator.
 byte[] SnmpMsgTranslatorCs2Ctxt.getAccessContext(SnmpMsg msg)
          The access context (used in IP ACL) is the community string.
 int SnmpMsgTranslatorV1V2.getMsgId(SnmpMsg msg)
           
 int SnmpMsgTranslatorV1V2.getMsgMaxSize(SnmpMsg msg)
           
 byte SnmpMsgTranslatorV1V2.getMsgFlags(SnmpMsg msg)
           
 int SnmpMsgTranslatorV1V2.getSecurityLevel(SnmpMsg msg)
           
 int SnmpMsgTranslatorV1V2.getMsgSecurityModel(SnmpMsg msg)
           
 SnmpSecurityParameters SnmpMsgTranslatorV1V2.getSecurityParameters(SnmpMsg msg)
           
 byte[] SnmpMsgTranslatorV1V2.getFlatSecurityParameters(SnmpMsg msg)
          The IP address is used as the ACL key.
 byte[] SnmpMsgTranslatorV1V2.getContextEngineId(SnmpMsg msg)
          Context engine Id is ALL THE TIME the local one.
 byte[] SnmpMsgTranslatorV1V2.getRawContextName(SnmpMsg msg)
          The received community string contains : The context Name + the access context (via @ separator).
 byte[] SnmpMsgTranslatorV1V2.getContextName(SnmpMsg msg)
          A context name can be added at the end of the community string via @ separator.
 byte[] SnmpMsgTranslatorV1V2.getAccessContext(SnmpMsg msg)
          The access context (used in IP ACL) is the community string.
 byte[] SnmpMsgTranslatorV1V2.getEncryptedPdu(SnmpMsg msg)
          No encryption, returns null.
 void SnmpMsgTranslatorV1V2.setContextName(SnmpMsg req, byte[] contextName)
          Does nothing, is used in V3 to set the context name after decryption.
 void SnmpMsgTranslatorV1V2.setContextEngineId(SnmpMsg req, byte[] contextEngineId)
          Does nothing, is used in V3 to set the context engine id after decryption.
 int SnmpMsgTranslator.getMsgId(SnmpMsg msg)
          Returns the request or message Id contained in the passed message.
 int SnmpMsgTranslator.getMsgMaxSize(SnmpMsg msg)
          Returns the response max message size.
 byte SnmpMsgTranslator.getMsgFlags(SnmpMsg msg)
          Returns the message flags.
 int SnmpMsgTranslator.getMsgSecurityModel(SnmpMsg msg)
          Returns the message security model.
 int SnmpMsgTranslator.getSecurityLevel(SnmpMsg msg)
          Returns the message security level.
 byte[] SnmpMsgTranslator.getFlatSecurityParameters(SnmpMsg msg)
          Returns an encoded representation of security parameters contained in the passed msg.
 SnmpSecurityParameters SnmpMsgTranslator.getSecurityParameters(SnmpMsg msg)
          Returns the message security parameters.
 byte[] SnmpMsgTranslator.getContextEngineId(SnmpMsg msg)
          Returns the message context Engine Id.
 byte[] SnmpMsgTranslator.getContextName(SnmpMsg msg)
          Returns the message context name.
 byte[] SnmpMsgTranslator.getRawContextName(SnmpMsg msg)
          Returns the raw message context name.
 byte[] SnmpMsgTranslator.getAccessContext(SnmpMsg msg)
          Returns the message access context name.
 byte[] SnmpMsgTranslator.getEncryptedPdu(SnmpMsg msg)
          Returns the message encrypted pdu or null if no encryption.
 void SnmpMsgTranslator.setContextName(SnmpMsg req, byte[] contextName)
          Set the context name of the passed message.
 void SnmpMsgTranslator.setContextEngineId(SnmpMsg req, byte[] contextEngineId)
          Set the context engine Id of the passed message.
 


FCS Release
jdmk-5_1-b34.1 2005.02.10_16:46:09_MET

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