|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.jdmk.internal.snmp.SnmpModelImpl
com.sun.jdmk.snmp.mpm.SnmpMsgProcessingModelV3
com.sun.management.snmp.mpm in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Defines an implementation of the SnmpMsgProcessingModel interface.
This message processing model is responsible for dealing with SNMP V3 protocol marshalling and unmarshalling. It uses a dedicated translator object that handle V3 parameters.
| Constructor Summary | |
SnmpMsgProcessingModelV3(SnmpMsgProcessingSubSystem sys,
SnmpMsgTranslator translat)
Deprecated. Constructor. |
|
| Method Summary | |
SnmpDecryptedPdu |
decode(byte[] buff)
Deprecated. Look for SnmpMsgProcessingModel interface specification. |
int |
encode(int version,
int msgId,
int msgMaxSize,
byte msgFlags,
int msgSecurityModel,
SnmpSecurityParameters params,
byte[] contextEngineId,
byte[] contextName,
byte[] data,
int dataLength,
byte[] outputBytes)
Deprecated. Look for SnmpMsgProcessingModel interface specification. |
int |
encode(SnmpDecryptedPdu pdu,
byte[] outputBytes)
Deprecated. Look for SnmpMsgProcessingModel interface specification. |
int |
encodePriv(int version,
int msgId,
int msgMaxSize,
byte msgFlags,
int msgSecurityModel,
SnmpSecurityParameters params,
byte[] encryptedPdu,
byte[] outputBytes)
Deprecated. Look for SnmpMsgProcessingModel interface specification. |
SnmpIncomingRequest |
getIncomingRequest(SnmpPduFactory factory)
Deprecated. Look for SnmpMsgProcessingModel interface specification. |
SnmpIncomingResponse |
getIncomingResponse(SnmpPduFactory factory)
Deprecated. Look for SnmpMsgProcessingModel interface specification. |
SnmpMsgTranslator |
getMsgTranslator()
Deprecated. Returns the current translator. |
SnmpOutgoingRequest |
getOutgoingRequest(SnmpPduFactory factory)
Deprecated. Look for SnmpMsgProcessingModel interface specification. |
SnmpPdu |
getRequestPdu(SnmpParams p,
int command)
Deprecated. Look for SnmpMsgProcessingModel interface specification. |
void |
setMsgTranslator(SnmpMsgTranslator translator)
Deprecated. In order to change the behavior of the translator, set it. |
| Methods inherited from class com.sun.jdmk.internal.snmp.SnmpModelImpl |
getName, getSubSystem |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.jdmk.internal.snmp.SnmpModel |
getName, getSubSystem |
| Constructor Detail |
public SnmpMsgProcessingModelV3(SnmpMsgProcessingSubSystem sys,
SnmpMsgTranslator translat)
SnmpMsgTranslatorV3 is the default one used.
sys - The Msg processing subSystem.translat - The SNMP protocol translator.| Method Detail |
public void setMsgTranslator(SnmpMsgTranslator translator)
setMsgTranslator in interface SnmpMsgProcessingModeltranslator - The translator that will be used.public SnmpMsgTranslator getMsgTranslator()
getMsgTranslator in interface SnmpMsgProcessingModelpublic SnmpIncomingRequest getIncomingRequest(SnmpPduFactory factory)
SnmpMsgProcessingModel interface specification.
getIncomingRequest in interface SnmpMsgProcessingModelpublic SnmpOutgoingRequest getOutgoingRequest(SnmpPduFactory factory)
SnmpMsgProcessingModel interface specification.
getOutgoingRequest in interface SnmpMsgProcessingModelpublic SnmpIncomingResponse getIncomingResponse(SnmpPduFactory factory)
SnmpMsgProcessingModel interface specification.
getIncomingResponse in interface SnmpMsgProcessingModel
public SnmpPdu getRequestPdu(SnmpParams p,
int command)
throws SnmpStatusException
SnmpMsgProcessingModel interface specification.
getRequestPdu in interface SnmpMsgProcessingModelSnmpStatusException
public int encodePriv(int version,
int msgId,
int msgMaxSize,
byte msgFlags,
int msgSecurityModel,
SnmpSecurityParameters params,
byte[] encryptedPdu,
byte[] outputBytes)
throws SnmpTooBigException
SnmpMsgProcessingModel interface specification.
encodePriv in interface SnmpMsgProcessingModelSnmpTooBigException
public int encode(int version,
int msgId,
int msgMaxSize,
byte msgFlags,
int msgSecurityModel,
SnmpSecurityParameters params,
byte[] contextEngineId,
byte[] contextName,
byte[] data,
int dataLength,
byte[] outputBytes)
throws SnmpTooBigException
SnmpMsgProcessingModel interface specification.
encode in interface SnmpMsgProcessingModelSnmpTooBigException
public SnmpDecryptedPdu decode(byte[] buff)
throws SnmpStatusException
SnmpMsgProcessingModel interface specification.
decode in interface SnmpMsgProcessingModelSnmpStatusException
public int encode(SnmpDecryptedPdu pdu,
byte[] outputBytes)
throws SnmpTooBigException
SnmpMsgProcessingModel interface specification.
encode in interface SnmpMsgProcessingModelSnmpTooBigException
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||