Package org.snmp4j.agent.mo.snmp

Examples of org.snmp4j.agent.mo.snmp.TimeStamp


         event.getRow()).setValue(Snmp4jDemoMib.idxSnmp4jDemoEntryCol3,
                                  counter);
      }
      counter.increment();
      // update timestamp
      TimeStamp timestamp = (TimeStamp)
          event.getTable().getColumn(Snmp4jDemoMib.idxSnmp4jDemoEntryCol4);
      timestamp.update((MOMutableTableRow)event.getRow(),
                       Snmp4jDemoMib.idxSnmp4jDemoEntryCol4);
      // fire notification
      Integer32 type =
          new Integer32(Snmp4jDemoMib.Snmp4jDemoTableRowModificationEnum.updated);
      switch (event.getType()) {
View Full Code Here


  }

  public MOColumn createColumn(int columnID, int syntax, MOAccess access,
                               Variable defaultValue,
                               boolean mutableInService) {
    return new TimeStamp(columnID, access,
                         SNMPv2MIB.getSysUpTime(defaultContext));
  }
View Full Code Here

TOP

Related Classes of org.snmp4j.agent.mo.snmp.TimeStamp

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.