@@ -87,6 +87,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
...
@@ -87,6 +87,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
* Returns the local engine. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
* Returns the local engine. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
* @return the local engine.
* @return the local engine.
*/
*/
@Override
publicSnmpEnginegetEngine(){
publicSnmpEnginegetEngine(){
returnengine;
returnengine;
}
}
...
@@ -95,6 +96,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
...
@@ -95,6 +96,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
* Gets the incoming request principal. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
* Gets the incoming request principal. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
* @return The request principal.
* @return The request principal.
**/
**/
@Override
publicStringgetPrincipal(){
publicStringgetPrincipal(){
returnprincipal;
returnprincipal;
}
}
...
@@ -103,6 +105,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
...
@@ -103,6 +105,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
* Gets the incoming request security level. This level is defined in {@link com.sun.jmx.snmp.SnmpEngine SnmpEngine}. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise -1 is returned.
* Gets the incoming request security level. This level is defined in {@link com.sun.jmx.snmp.SnmpEngine SnmpEngine}. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise -1 is returned.
* @return The security level.
* @return The security level.
*/
*/
@Override
publicintgetSecurityLevel(){
publicintgetSecurityLevel(){
returnsecurityLevel;
returnsecurityLevel;
}
}
...
@@ -110,6 +113,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
...
@@ -110,6 +113,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
* Gets the incoming request security model. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise -1 is returned.
* Gets the incoming request security model. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise -1 is returned.
* @return The security model.
* @return The security model.
*/
*/
@Override
publicintgetSecurityModel(){
publicintgetSecurityModel(){
returnsecurityModel;
returnsecurityModel;
}
}
...
@@ -117,6 +121,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
...
@@ -117,6 +121,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
* Gets the incoming request context name. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
* Gets the incoming request context name. This parameter is returned only if <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
* @return The context name.
* @return The context name.
*/
*/
@Override
publicbyte[]getContextName(){
publicbyte[]getContextName(){
returncontextName;
returncontextName;
}
}
...
@@ -125,6 +130,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
...
@@ -125,6 +130,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
* 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 <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
* 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 <CODE> SnmpV3AdaptorServer </CODE> is the adaptor receiving this request. Otherwise null is returned.
* @return The checked context.
* @return The checked context.
*/
*/
@Override
publicbyte[]getAccessContextName(){
publicbyte[]getAccessContextName(){
returnaccessContextName;
returnaccessContextName;
}
}
...
@@ -133,6 +139,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
...
@@ -133,6 +139,7 @@ final class SnmpMibRequestImpl implements SnmpMibRequest {
// Implements the method defined in SnmpMibRequest interface.
// Implements the method defined in SnmpMibRequest interface.