Package org.snmp4j.agent.agentx.master.AgentXMib

Examples of org.snmp4j.agent.agentx.master.AgentXMib.AgentxRegistrationEntryRow


        else {
          OID index = new OID((OID)peer.getId());
          index.append(session.getSessionID());
          index.append(regEntryIndexGenerator.getNextSubIndex());
          entry.setId(index);
          AgentxRegistrationEntryRow row = (AgentxRegistrationEntryRow)
              agentxRegistrationEntry.createRow(index);
          row.setAgentxRegContext(entry.getContext());
          Integer32 singleOID =
              TruthValueTC.getValue(entry.getRegion().isSingleOID());
          row.setAgentxRegInstance(singleOID);
          row.setAgentxRegPriority(new UnsignedInteger32(entry.getPriority()));
          row.setAgentxRegRangeSubId(
              new UnsignedInteger32(entry.getRegion().getRangeSubID()));
          row.setAgentxRegStart(entry.getRegion().getLowerBound());
          row.setAgentxRegTimeout(new Integer32(entry.getTimeout()));
          row.setAgentxRegUpperBound(
              new UnsignedInteger32(entry.getRegion().getUpperBoundSubID()));
          agentxRegistrationEntry.addRow(row);
        }
        break;
      }
View Full Code Here


        extends DefaultMOMutableRow2PCFactory
  {
    public synchronized MOTableRow createRow(OID index, Variable[] values)
        throws UnsupportedOperationException
    {
      AgentxRegistrationEntryRow row = new AgentxRegistrationEntryRow(index, values);
     //--AgentGen BEGIN=agentxRegistrationEntry::createRow
     //--AgentGen END
      return row;
    }
View Full Code Here

TOP

Related Classes of org.snmp4j.agent.agentx.master.AgentXMib.AgentxRegistrationEntryRow

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.