com.sun.jmx.snmp.daemon.SnmpAdaptorServer Java Examples

The following examples show how to use com.sun.jmx.snmp.daemon.SnmpAdaptorServer. 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 Project: jdk1.8-source-analysis   Author: raysonfang   File: SnmpSubNextRequestHandler.java    License: Apache License 2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #2
Source Project: dragonwell8_jdk   Author: alibaba   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #3
Source Project: TencentKona-8   Author: Tencent   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #4
Source Project: jdk8u60   Author: chenghanpeng   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #5
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: SnmpSubNextRequestHandler.java    License: MIT License 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #6
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #7
Source Project: openjdk-jdk8u-backup   Author: AdoptOpenJDK   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #8
Source Project: jdk8u-jdk   Author: lambdalab-mirror   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #9
Source Project: hottub   Author: dsrg-uoft   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #10
Source Project: openjdk-8-source   Author: keerath   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #11
Source Project: openjdk-8   Author: bpupadhyaya   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #12
Source Project: jdk8u_jdk   Author: JetBrains   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #13
Source Project: jdk8u-jdk   Author: frohoff   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #14
Source Project: jdk8u-dev-jdk   Author: frohoff   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 6 votes vote down vote up
private void init(SnmpPdu req, SnmpAdaptorServer server) {
    this.server = server;

    // The translation table is easy in this case ...
    //
    final int max= translation.length;
    final SnmpVarBind[] list= req.varBindList;
    final NonSyncVector<SnmpVarBind> nonSyncVarBind =
            ((NonSyncVector<SnmpVarBind>)varBind);
    for(int i=0; i < max; i++) {
        translation[i]= i;
        // we need to allocate a new SnmpVarBind. Otherwise the first
        // sub request will modify the list...
        //
        final SnmpVarBind newVarBind =
            new SnmpVarBind(list[i].oid, list[i].value);
        nonSyncVarBind.addNonSyncElement(newVarBind);
    }
}
 
Example #15
Source Project: jdk1.8-source-analysis   Author: raysonfang   File: SnmpSubNextRequestHandler.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * The constructor initialize the subrequest with the whole varbind
 * list contained in the original request.
 */
protected SnmpSubNextRequestHandler(SnmpAdaptorServer server,
                                    SnmpMibAgent agent,
                                    SnmpPdu req) {
    super(agent,req);
    init(req, server);
}
 
Example #16
Source Project: jdk1.8-source-analysis   Author: raysonfang   File: SnmpSubNextRequestHandler.java    License: Apache License 2.0 5 votes vote down vote up
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 #17
Source Project: dragonwell8_jdk   Author: alibaba   File: JVM_MANAGEMENT_MIB_IMPL.java    License: GNU General Public License v2.0 5 votes vote down vote up
private synchronized void sendTrap(SnmpOid trap, SnmpVarBindList list) {
    final Iterator<NotificationTarget> iterator = notificationTargets.iterator();
    final SnmpAdaptorServer adaptor =
        (SnmpAdaptorServer) getSnmpAdaptor();

    if (adaptor == null) {
        log.error("sendTrap", "Cannot send trap: adaptor is null.");
        return;
    }

    if (!adaptor.isActive()) {
        log.config("sendTrap", "Adaptor is not active: trap not sent.");
        return;
    }

    while(iterator.hasNext()) {
        NotificationTarget target = null;
        try {
            target = iterator.next();
            SnmpPeer peer =
                new SnmpPeer(target.getAddress(), target.getPort());
            SnmpParameters p = new SnmpParameters();
            p.setRdCommunity(target.getCommunity());
            peer.setParams(p);
            log.debug("handleNotification", "Sending trap to " +
                      target.getAddress() + ":" + target.getPort());
            adaptor.snmpV2Trap(peer, trap, list, null);
        }catch(Exception e) {
            log.error("sendTrap",
                      "Exception occurred while sending trap to [" +
                      target + "]. Exception : " + e);
            log.debug("sendTrap",e);
        }
    }
}
 
Example #18
Source Project: dragonwell8_jdk   Author: alibaba   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * The constructor initialize the subrequest with the whole varbind
 * list contained in the original request.
 */
protected SnmpSubNextRequestHandler(SnmpAdaptorServer server,
                                    SnmpMibAgent agent,
                                    SnmpPdu req) {
    super(agent,req);
    init(req, server);
}
 
Example #19
Source Project: dragonwell8_jdk   Author: alibaba   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 5 votes vote down vote up
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 #20
Source Project: TencentKona-8   Author: Tencent   File: JVM_MANAGEMENT_MIB_IMPL.java    License: GNU General Public License v2.0 5 votes vote down vote up
private synchronized void sendTrap(SnmpOid trap, SnmpVarBindList list) {
    final Iterator<NotificationTarget> iterator = notificationTargets.iterator();
    final SnmpAdaptorServer adaptor =
        (SnmpAdaptorServer) getSnmpAdaptor();

    if (adaptor == null) {
        log.error("sendTrap", "Cannot send trap: adaptor is null.");
        return;
    }

    if (!adaptor.isActive()) {
        log.config("sendTrap", "Adaptor is not active: trap not sent.");
        return;
    }

    while(iterator.hasNext()) {
        NotificationTarget target = null;
        try {
            target = iterator.next();
            SnmpPeer peer =
                new SnmpPeer(target.getAddress(), target.getPort());
            SnmpParameters p = new SnmpParameters();
            p.setRdCommunity(target.getCommunity());
            peer.setParams(p);
            log.debug("handleNotification", "Sending trap to " +
                      target.getAddress() + ":" + target.getPort());
            adaptor.snmpV2Trap(peer, trap, list, null);
        }catch(Exception e) {
            log.error("sendTrap",
                      "Exception occurred while sending trap to [" +
                      target + "]. Exception : " + e);
            log.debug("sendTrap",e);
        }
    }
}
 
Example #21
Source Project: TencentKona-8   Author: Tencent   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * The constructor initialize the subrequest with the whole varbind
 * list contained in the original request.
 */
protected SnmpSubNextRequestHandler(SnmpAdaptorServer server,
                                    SnmpMibAgent agent,
                                    SnmpPdu req) {
    super(agent,req);
    init(req, server);
}
 
Example #22
Source Project: TencentKona-8   Author: Tencent   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 5 votes vote down vote up
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 Project: jdk8u60   Author: chenghanpeng   File: JVM_MANAGEMENT_MIB_IMPL.java    License: GNU General Public License v2.0 5 votes vote down vote up
private synchronized void sendTrap(SnmpOid trap, SnmpVarBindList list) {
    final Iterator<NotificationTarget> iterator = notificationTargets.iterator();
    final SnmpAdaptorServer adaptor =
        (SnmpAdaptorServer) getSnmpAdaptor();

    if (adaptor == null) {
        log.error("sendTrap", "Cannot send trap: adaptor is null.");
        return;
    }

    if (!adaptor.isActive()) {
        log.config("sendTrap", "Adaptor is not active: trap not sent.");
        return;
    }

    while(iterator.hasNext()) {
        NotificationTarget target = null;
        try {
            target = iterator.next();
            SnmpPeer peer =
                new SnmpPeer(target.getAddress(), target.getPort());
            SnmpParameters p = new SnmpParameters();
            p.setRdCommunity(target.getCommunity());
            peer.setParams(p);
            log.debug("handleNotification", "Sending trap to " +
                      target.getAddress() + ":" + target.getPort());
            adaptor.snmpV2Trap(peer, trap, list, null);
        }catch(Exception e) {
            log.error("sendTrap",
                      "Exception occurred while sending trap to [" +
                      target + "]. Exception : " + e);
            log.debug("sendTrap",e);
        }
    }
}
 
Example #24
Source Project: jdk8u60   Author: chenghanpeng   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * The constructor initialize the subrequest with the whole varbind
 * list contained in the original request.
 */
protected SnmpSubNextRequestHandler(SnmpAdaptorServer server,
                                    SnmpMibAgent agent,
                                    SnmpPdu req) {
    super(agent,req);
    init(req, server);
}
 
Example #25
Source Project: jdk8u60   Author: chenghanpeng   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 5 votes vote down vote up
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 #26
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: SnmpSubNextRequestHandler.java    License: MIT License 5 votes vote down vote up
/**
 * The constructor initialize the subrequest with the whole varbind
 * list contained in the original request.
 */
protected SnmpSubNextRequestHandler(SnmpAdaptorServer server,
                                    SnmpMibAgent agent,
                                    SnmpPdu req) {
    super(agent,req);
    init(req, server);
}
 
Example #27
Source Project: JDKSourceCode1.8   Author: wupeixuan   File: SnmpSubNextRequestHandler.java    License: MIT License 5 votes vote down vote up
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 #28
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: JVM_MANAGEMENT_MIB_IMPL.java    License: GNU General Public License v2.0 5 votes vote down vote up
private synchronized void sendTrap(SnmpOid trap, SnmpVarBindList list) {
    final Iterator<NotificationTarget> iterator = notificationTargets.iterator();
    final SnmpAdaptorServer adaptor =
        (SnmpAdaptorServer) getSnmpAdaptor();

    if (adaptor == null) {
        log.error("sendTrap", "Cannot send trap: adaptor is null.");
        return;
    }

    if (!adaptor.isActive()) {
        log.config("sendTrap", "Adaptor is not active: trap not sent.");
        return;
    }

    while(iterator.hasNext()) {
        NotificationTarget target = null;
        try {
            target = iterator.next();
            SnmpPeer peer =
                new SnmpPeer(target.getAddress(), target.getPort());
            SnmpParameters p = new SnmpParameters();
            p.setRdCommunity(target.getCommunity());
            peer.setParams(p);
            log.debug("handleNotification", "Sending trap to " +
                      target.getAddress() + ":" + target.getPort());
            adaptor.snmpV2Trap(peer, trap, list, null);
        }catch(Exception e) {
            log.error("sendTrap",
                      "Exception occurred while sending trap to [" +
                      target + "]. Exception : " + e);
            log.debug("sendTrap",e);
        }
    }
}
 
Example #29
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 5 votes vote down vote up
/**
 * The constructor initialize the subrequest with the whole varbind
 * list contained in the original request.
 */
protected SnmpSubNextRequestHandler(SnmpAdaptorServer server,
                                    SnmpMibAgent agent,
                                    SnmpPdu req) {
    super(agent,req);
    init(req, server);
}
 
Example #30
Source Project: openjdk-jdk8u   Author: AdoptOpenJDK   File: SnmpSubNextRequestHandler.java    License: GNU General Public License v2.0 5 votes vote down vote up
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);
    }
}