Package org.snmp4j.agent

Examples of org.snmp4j.agent.MOServer


  }

  private MOServer getServer(OctetString context) {
    MOServer[] sc = servers;
    for (int i=0; i<sc.length; i++) {
      MOServer s = (MOServer)sc[i];
      if (s.isContextSupported(context)) {
        return s;
      }
    }
    return null;
  }
View Full Code Here


                                              null, false);
    AgentXNodeQuery query =
        new AgentXNodeQuery(entry.getContext(), scope,
                            AgentXNodeQuery.QUERY_ALL);
    MOScope requestScope = searchRange.getReferenceSubRequest().getScope();
    MOServer server = getServer(entry.getContext());
    for (ManagedObject node = server.lookup(query);
         (node instanceof AgentXNode);
         node = server.lookup(nextQuery(query, (AgentXNode)node)))
    {
      AgentXRegEntry activeReg = ((AgentXNode)node).getActiveRegistration();
      MOScope region = node.getScope();
      if ((activeReg != null) &&
          (activeReg.getSession().equals(entry.getSession()))) {
View Full Code Here

TOP

Related Classes of org.snmp4j.agent.MOServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.