|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sun.management.snmp.agent
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
This interface models the part of a SNMP request that involves a specific MIB. One object implementing this interface will be created for every MIB involved in a SNMP request, and that object will be passed to the SnmpMibAgent in charge of handling that MIB. Objects implementing this interface will be allocated by the SNMP engine. You will never need to implement this interface. You will only use it.
Method Summary | |
void |
addVarBind(SnmpVarBind varbind)
Deprecated. Adds a varbind to this request sublist. |
byte[] |
getAccessContextName()
Deprecated. Gets the incoming request context name used by Access Control Model in order to allow or deny the access to OIDs. |
byte[] |
getContextName()
Deprecated. Gets the incoming request context name. |
Enumeration |
getElements()
Deprecated. Returns the list of varbind to be handled by the SNMP mib node. |
SnmpEngine |
getEngine()
Deprecated. Returns the local engine. |
SnmpPdu |
getPdu()
Deprecated. Returns the SNMP PDU attached to the request. |
String |
getPrincipal()
Deprecated. Gets the incoming request principal. |
int |
getRequestPduVersion()
Deprecated. Returns the SNMP protocol version of the original request. |
int |
getSecurityLevel()
Deprecated. Gets the incoming request security level. |
int |
getSecurityModel()
Deprecated. Gets the incoming request security model. |
int |
getSize()
Deprecated. Returns the number of elements (varbinds) in this request sublist. |
Vector |
getSubList()
Deprecated. Returns the vector of varbind to be handled by the SNMP mib node. |
Object |
getUserData()
Deprecated. Returns a handle on a user allocated contextual object. |
int |
getVarIndex(SnmpVarBind varbind)
Deprecated. Returns the varbind index that should be embedded in an SnmpStatusException for this particular varbind. |
int |
getVersion()
Deprecated. Returns the SNMP protocol version of the original request. |
Method Detail |
public Enumeration getElements()
SnmpVarBind
public Vector getSubList()
SnmpVarBind
public int getVersion()
public int getRequestPduVersion()
public SnmpEngine getEngine()
SnmpV3AdaptorServer
is the adaptor receiving this request. Otherwise null is returned.
public String getPrincipal()
SnmpV3AdaptorServer
is the adaptor receiving this request. Otherwise null is returned.
public int getSecurityLevel()
SnmpEngine
. This parameter is returned only if SnmpV3AdaptorServer
is the adaptor receiving this request. Otherwise -1 is returned.
public int getSecurityModel()
SnmpV3AdaptorServer
is the adaptor receiving this request. Otherwise -1 is returned.
public byte[] getContextName()
SnmpV3AdaptorServer
is the adaptor receiving this request. Otherwise null is returned.
public byte[] getAccessContextName()
SnmpV3AdaptorServer
is the adaptor receiving this request. Otherwise null is returned.
public Object getUserData()
public int getVarIndex(SnmpVarBind varbind)
varbind
- The varbind for which the index value is
queried. Note that this varbind must have
been obtained from the enumeration returned by
getElements()
, or from the vector
returned by getSublist()
.
public void addVarBind(SnmpVarBind varbind)
varbind
- The varbind to be added in the sublist.public int getSize()
public SnmpPdu getPdu()
|
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 |