com.sun.jmx.snmp.SnmpEngine Java Examples
The following examples show how to use
com.sun.jmx.snmp.SnmpEngine.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SnmpMibAgent.java From JDKSourceCode1.8 with MIT License | 6 votes |
/** * This is a factory method for creating new SnmpMibRequest objects. * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param version The protocol version of the SNMP request. * @param userData User allocated contextual data. * * @return A new SnmpMibRequest object. * * @since 1.5 **/ public static SnmpMibRequest newMibRequest(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int version, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { return new SnmpMibRequestImpl(engine, reqPdu, vblist, version, userData, principal, securityLevel, securityModel, contextName, accessContextName); }
Example #2
Source File: SnmpMibRequestImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param protocolVersion The protocol version of the SNMP request. * @param userData User allocated contextual data. This object must * be allocated on a per SNMP request basis through the * SnmpUserDataFactory registered with the SnmpAdaptorServer, * and is handed back to the user through SnmpMibRequest objects. */ public SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { varbinds = vblist; version = protocolVersion; data = userData; this.reqPdu = reqPdu; this.engine = engine; this.principal = principal; this.securityLevel = securityLevel; this.securityModel = securityModel; this.contextName = contextName; this.accessContextName = accessContextName; }
Example #3
Source File: SnmpMibRequestImpl.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param protocolVersion The protocol version of the SNMP request. * @param userData User allocated contextual data. This object must * be allocated on a per SNMP request basis through the * SnmpUserDataFactory registered with the SnmpAdaptorServer, * and is handed back to the user through SnmpMibRequest objects. */ public SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { varbinds = vblist; version = protocolVersion; data = userData; this.reqPdu = reqPdu; this.engine = engine; this.principal = principal; this.securityLevel = securityLevel; this.securityModel = securityModel; this.contextName = contextName; this.accessContextName = accessContextName; }
Example #4
Source File: SnmpMibAgent.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * This is a factory method for creating new SnmpMibRequest objects. * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param version The protocol version of the SNMP request. * @param userData User allocated contextual data. * * @return A new SnmpMibRequest object. * * @since 1.5 **/ public static SnmpMibRequest newMibRequest(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int version, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { return new SnmpMibRequestImpl(engine, reqPdu, vblist, version, userData, principal, securityLevel, securityModel, contextName, accessContextName); }
Example #5
Source File: SnmpMibAgent.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * This is a factory method for creating new SnmpMibRequest objects. * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param version The protocol version of the SNMP request. * @param userData User allocated contextual data. * * @return A new SnmpMibRequest object. * * @since 1.5 **/ public static SnmpMibRequest newMibRequest(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int version, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { return new SnmpMibRequestImpl(engine, reqPdu, vblist, version, userData, principal, securityLevel, securityModel, contextName, accessContextName); }
Example #6
Source File: SnmpMibAgent.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * This is a factory method for creating new SnmpMibRequest objects. * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param version The protocol version of the SNMP request. * @param userData User allocated contextual data. * * @return A new SnmpMibRequest object. * * @since 1.5 **/ public static SnmpMibRequest newMibRequest(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int version, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { return new SnmpMibRequestImpl(engine, reqPdu, vblist, version, userData, principal, securityLevel, securityModel, contextName, accessContextName); }
Example #7
Source File: SnmpMibRequestImpl.java From dragonwell8_jdk with GNU General Public License v2.0 | 6 votes |
/** * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param protocolVersion The protocol version of the SNMP request. * @param userData User allocated contextual data. This object must * be allocated on a per SNMP request basis through the * SnmpUserDataFactory registered with the SnmpAdaptorServer, * and is handed back to the user through SnmpMibRequest objects. */ public SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { varbinds = vblist; version = protocolVersion; data = userData; this.reqPdu = reqPdu; this.engine = engine; this.principal = principal; this.securityLevel = securityLevel; this.securityModel = securityModel; this.contextName = contextName; this.accessContextName = accessContextName; }
Example #8
Source File: SnmpMibRequestImpl.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param protocolVersion The protocol version of the SNMP request. * @param userData User allocated contextual data. This object must * be allocated on a per SNMP request basis through the * SnmpUserDataFactory registered with the SnmpAdaptorServer, * and is handed back to the user through SnmpMibRequest objects. */ public SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { varbinds = vblist; version = protocolVersion; data = userData; this.reqPdu = reqPdu; this.engine = engine; this.principal = principal; this.securityLevel = securityLevel; this.securityModel = securityModel; this.contextName = contextName; this.accessContextName = accessContextName; }
Example #9
Source File: SnmpMibRequestImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param protocolVersion The protocol version of the SNMP request. * @param userData User allocated contextual data. This object must * be allocated on a per SNMP request basis through the * SnmpUserDataFactory registered with the SnmpAdaptorServer, * and is handed back to the user through SnmpMibRequest objects. */ public SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { varbinds = vblist; version = protocolVersion; data = userData; this.reqPdu = reqPdu; this.engine = engine; this.principal = principal; this.securityLevel = securityLevel; this.securityModel = securityModel; this.contextName = contextName; this.accessContextName = accessContextName; }
Example #10
Source File: SnmpMibAgent.java From dragonwell8_jdk with GNU General Public License v2.0 | 6 votes |
/** * This is a factory method for creating new SnmpMibRequest objects. * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param version The protocol version of the SNMP request. * @param userData User allocated contextual data. * * @return A new SnmpMibRequest object. * * @since 1.5 **/ public static SnmpMibRequest newMibRequest(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int version, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { return new SnmpMibRequestImpl(engine, reqPdu, vblist, version, userData, principal, securityLevel, securityModel, contextName, accessContextName); }
Example #11
Source File: SnmpMibAgent.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * This is a factory method for creating new SnmpMibRequest objects. * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param version The protocol version of the SNMP request. * @param userData User allocated contextual data. * * @return A new SnmpMibRequest object. * * @since 1.5 **/ public static SnmpMibRequest newMibRequest(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int version, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { return new SnmpMibRequestImpl(engine, reqPdu, vblist, version, userData, principal, securityLevel, securityModel, contextName, accessContextName); }
Example #12
Source File: SnmpMibRequestImpl.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
/** * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param protocolVersion The protocol version of the SNMP request. * @param userData User allocated contextual data. This object must * be allocated on a per SNMP request basis through the * SnmpUserDataFactory registered with the SnmpAdaptorServer, * and is handed back to the user through SnmpMibRequest objects. */ public SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { varbinds = vblist; version = protocolVersion; data = userData; this.reqPdu = reqPdu; this.engine = engine; this.principal = principal; this.securityLevel = securityLevel; this.securityModel = securityModel; this.contextName = contextName; this.accessContextName = accessContextName; }
Example #13
Source File: SnmpMibAgent.java From jdk8u-jdk with GNU General Public License v2.0 | 6 votes |
/** * This is a factory method for creating new SnmpMibRequest objects. * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param version The protocol version of the SNMP request. * @param userData User allocated contextual data. * * @return A new SnmpMibRequest object. * * @since 1.5 **/ public static SnmpMibRequest newMibRequest(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int version, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { return new SnmpMibRequestImpl(engine, reqPdu, vblist, version, userData, principal, securityLevel, securityModel, contextName, accessContextName); }
Example #14
Source File: SnmpMibRequestImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
/** * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param protocolVersion The protocol version of the SNMP request. * @param userData User allocated contextual data. This object must * be allocated on a per SNMP request basis through the * SnmpUserDataFactory registered with the SnmpAdaptorServer, * and is handed back to the user through SnmpMibRequest objects. */ public SnmpMibRequestImpl(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int protocolVersion, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { varbinds = vblist; version = protocolVersion; data = userData; this.reqPdu = reqPdu; this.engine = engine; this.principal = principal; this.securityLevel = securityLevel; this.securityModel = securityModel; this.contextName = contextName; this.accessContextName = accessContextName; }
Example #15
Source File: SnmpMibAgent.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
/** * This is a factory method for creating new SnmpMibRequest objects. * @param engine The local engine. * @param reqPdu The received pdu. * @param vblist The vector of SnmpVarBind objects in which the * MIB concerned by this request is involved. * @param version The protocol version of the SNMP request. * @param userData User allocated contextual data. * * @return A new SnmpMibRequest object. * * @since 1.5 **/ public static SnmpMibRequest newMibRequest(SnmpEngine engine, SnmpPdu reqPdu, Vector<SnmpVarBind> vblist, int version, Object userData, String principal, int securityLevel, int securityModel, byte[] contextName, byte[] accessContextName) { return new SnmpMibRequestImpl(engine, reqPdu, vblist, version, userData, principal, securityLevel, securityModel, contextName, accessContextName); }
Example #16
Source File: SnmpSubBulkRequestHandler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * The constructor initialize the subrequest with the whole varbind list contained * in the original request. */ protected SnmpSubBulkRequestHandler(SnmpEngine engine, SnmpAdaptorServer server, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, int nonRepeat, int maxRepeat, int R) { super(engine, incRequest, agent, req); init(server, req, nonRepeat, maxRepeat, R); }
Example #17
Source File: SnmpSubRequestHandler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * V3 enabled Adaptor. Each Oid is added using updateRequest method. */ protected SnmpSubRequestHandler(SnmpEngine engine, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req) { this(agent, req); init(engine, incRequest); }
Example #18
Source File: SnmpSubRequestHandler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * V3 enabled Adaptor. */ protected SnmpSubRequestHandler(SnmpEngine engine, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, boolean nouse) { this(agent, req, nouse); init(engine, incRequest); }
Example #19
Source File: SnmpSubRequestHandler.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * V3 enabled Adaptor. */ protected SnmpSubRequestHandler(SnmpEngine engine, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, boolean nouse) { this(agent, req, nouse); init(engine, incRequest); }
Example #20
Source File: SnmpSubRequestHandler.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * V3 enabled Adaptor. */ protected SnmpSubRequestHandler(SnmpEngine engine, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, boolean nouse) { this(agent, req, nouse); init(engine, incRequest); }
Example #21
Source File: SnmpSubBulkRequestHandler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * The constructor initialize the subrequest with the whole varbind list contained * in the original request. */ protected SnmpSubBulkRequestHandler(SnmpEngine engine, SnmpAdaptorServer server, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, int nonRepeat, int maxRepeat, int R) { super(engine, incRequest, agent, req); init(server, req, nonRepeat, maxRepeat, R); }
Example #22
Source File: SnmpSubNextRequestHandler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
protected SnmpSubNextRequestHandler(SnmpEngine engine, SnmpAdaptorServer server, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req) { super(engine, incRequest, agent, req); init(req, server); if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubNextRequestHandler.class.getName(), "SnmpSubNextRequestHandler", "Constructor : " + this); } }
Example #23
Source File: SnmpSubNextRequestHandler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
protected SnmpSubNextRequestHandler(SnmpEngine engine, SnmpAdaptorServer server, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req) { super(engine, incRequest, agent, req); init(req, server); if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubNextRequestHandler.class.getName(), "SnmpSubNextRequestHandler", "Constructor : " + this); } }
Example #24
Source File: SnmpSubBulkRequestHandler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * The constructor initialize the subrequest with the whole varbind list contained * in the original request. */ protected SnmpSubBulkRequestHandler(SnmpEngine engine, SnmpAdaptorServer server, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, int nonRepeat, int maxRepeat, int R) { super(engine, incRequest, agent, req); init(server, req, nonRepeat, maxRepeat, R); }
Example #25
Source File: SnmpSubRequestHandler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * V3 enabled Adaptor. Each Oid is added using updateRequest method. */ protected SnmpSubRequestHandler(SnmpEngine engine, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req) { this(agent, req); init(engine, incRequest); }
Example #26
Source File: SnmpSubRequestHandler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * V3 enabled Adaptor. */ protected SnmpSubRequestHandler(SnmpEngine engine, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, boolean nouse) { this(agent, req, nouse); init(engine, incRequest); }
Example #27
Source File: SnmpSubBulkRequestHandler.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
/** * The constructor initialize the subrequest with the whole varbind list contained * in the original request. */ protected SnmpSubBulkRequestHandler(SnmpEngine engine, SnmpAdaptorServer server, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, int nonRepeat, int maxRepeat, int R) { super(engine, incRequest, agent, req); init(server, req, nonRepeat, maxRepeat, R); }
Example #28
Source File: SnmpSubNextRequestHandler.java From JDKSourceCode1.8 with MIT License | 5 votes |
protected SnmpSubNextRequestHandler(SnmpEngine engine, SnmpAdaptorServer server, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req) { super(engine, incRequest, agent, req); init(req, server); if (SNMP_ADAPTOR_LOGGER.isLoggable(Level.FINEST)) { SNMP_ADAPTOR_LOGGER.logp(Level.FINEST, SnmpSubNextRequestHandler.class.getName(), "SnmpSubNextRequestHandler", "Constructor : " + this); } }
Example #29
Source File: SnmpSubBulkRequestHandler.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * The constructor initialize the subrequest with the whole varbind list contained * in the original request. */ protected SnmpSubBulkRequestHandler(SnmpEngine engine, SnmpAdaptorServer server, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req, int nonRepeat, int maxRepeat, int R) { super(engine, incRequest, agent, req); init(server, req, nonRepeat, maxRepeat, R); }
Example #30
Source File: SnmpSubRequestHandler.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * V3 enabled Adaptor. Each Oid is added using updateRequest method. */ protected SnmpSubRequestHandler(SnmpEngine engine, SnmpIncomingRequest incRequest, SnmpMibAgent agent, SnmpPdu req) { this(agent, req); init(engine, incRequest); }