Methods Summary |
---|
public void | addVarBind(com.sun.jmx.snmp.SnmpVarBind varbind)
varbinds.addElement(varbind);
|
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.
return accessContextName;
|
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.
return contextName;
|
public final java.util.Enumeration | getElements()return varbinds.elements();
|
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.
return engine;
|
public final com.sun.jmx.snmp.SnmpPdu | getPdu()
return reqPdu;
|
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.
return principal;
|
public final int | getRequestPduVersion()return reqPdu.version;
|
final SnmpRequestTree | getRequestTree()return tree;
|
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.
return securityLevel;
|
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.
return securityModel;
|
public final int | getSize()
if (varbinds == null) return 0;
return varbinds.size();
|
public final java.util.Vector | getSubList()return varbinds;
|
public final java.lang.Object | getUserData()return data;
|
public final int | getVarIndex(com.sun.jmx.snmp.SnmpVarBind varbind)
return varbinds.indexOf(varbind);
|
final java.util.Vector | getVarbinds()return varbinds;
|
public final int | getVersion()return version;
|
final void | setRequestTree(SnmpRequestTree tree)this.tree = tree;
|