Methods Summary |
---|
public void | addVarBind(com.sun.jmx.snmp.SnmpVarBind varbind)Adds a varbind to this request sublist. This method is used for
internal purposes and you should never need to call it directly.
|
public byte[] | getAccessContextName()Gets the incoming request context name used by Access Control Model in order to allow or deny the access to OIDs. This parameter is returned only if SnmpV3AdaptorServer is the adaptor receiving this request. Otherwise null is returned.
|
public byte[] | getContextName()Gets the incoming request context name. This parameter is returned only if SnmpV3AdaptorServer is the adaptor receiving this request. Otherwise null is returned.
|
public java.util.Enumeration | getElements()Returns the list of varbind to be handled by the SNMP mib node.
|
public com.sun.jmx.snmp.SnmpEngine | getEngine()Returns the local engine. This parameter is returned only if SnmpV3AdaptorServer is the adaptor receiving this request. Otherwise null is returned.
|
public com.sun.jmx.snmp.SnmpPdu | getPdu()Returns the SNMP PDU attached to the request.
|
public java.lang.String | getPrincipal()Gets the incoming request principal. This parameter is returned only if SnmpV3AdaptorServer is the adaptor receiving this request. Otherwise null is returned.
|
public int | getRequestPduVersion()Returns the SNMP protocol version of the original request. No translation is done on the version. The actual received request SNMP version is returned.
|
public int | getSecurityLevel()Gets the incoming request security level. This level is defined in {@link com.sun.jmx.snmp.SnmpEngine SnmpEngine}. This parameter is returned only if SnmpV3AdaptorServer is the adaptor receiving this request. Otherwise -1 is returned.
|
public int | getSecurityModel()Gets the incoming request security model. This parameter is returned only if SnmpV3AdaptorServer is the adaptor receiving this request. Otherwise -1 is returned.
|
public int | getSize()Returns the number of elements (varbinds) in this request sublist.
|
public java.util.Vector | getSubList()Returns the vector of varbind to be handled by the SNMP mib node.
The caller shall not modify this vector.
|
public java.lang.Object | getUserData()Returns a handle on a user allocated contextual object.
This contextual object is allocated through the SnmpUserDataFactory
on a per SNMP request basis, and is handed back to the user via
SnmpMibRequest (and derivative) objects. It is never accessed by
the system, but might be handed back in multiple threads. It is thus
the user responsibility to make sure he handles this object in a
thread safe manner.
|
public int | getVarIndex(com.sun.jmx.snmp.SnmpVarBind varbind)Returns the varbind index that should be embedded in an
SnmpStatusException for this particular varbind.
This does not necessarily correspond to the "real"
index value that will be returned in the result PDU.
|
public int | getVersion()Returns the SNMP protocol version of the original request. If SNMP V1 request are received, the version is upgraded to SNMP V2.
|