Package org.snmp4j.agent.agentx.subagent

Examples of org.snmp4j.agent.agentx.subagent.DefaultAgentXSharedMOTable


//--AgentGen BEGIN=_CLASSES
  static class AgentppTestMOFactory extends DefaultMOFactory {
    public MOTable createTable(OID oid, MOTableIndex indexDef,
                               MOColumn[] columns) {
      if (oidAgentppTestSessionsEntry.equals(oid)) {
        return new DefaultAgentXSharedMOTable(oid, indexDef, columns) {
          public void setAgentXSharedMOTableSupport(AgentXSharedMOTableSupport
              sharedTableSupport) {
            super.setAgentXSharedMOTableSupport(sharedTableSupport);
            ((MOMutableTableModel)model).clear();
            OID index =
                new OID(new int[] { sharedTableSupport.getSession().getSessionID() });
            MOTableRow row = createRow(index);
            if (row != null) {
              addRow(row);
            }
          }
        };
      }
      return new DefaultAgentXSharedMOTable(oid, indexDef, columns);
    }
View Full Code Here


      return new DefaultAgentXSharedMOTable(oid, indexDef, columns);
    }

    public MOTable createTable(OID oid, MOTableIndex indexDef, MOColumn[] columns,
                               MOTableModel model) {
      DefaultAgentXSharedMOTable table =
          (DefaultAgentXSharedMOTable) createTable(oid, indexDef, columns);
      table.setModel(model);
      return table;
    }
View Full Code Here

TOP

Related Classes of org.snmp4j.agent.agentx.subagent.DefaultAgentXSharedMOTable

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.