Class NnpiCountersSection

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf30.NnpiCountersSection

public final class NnpiCountersSection extends SmfData
  • Method Details

    • smf30NnpiCtrsEntryId

      public NnpiCounters smf30NnpiCtrsEntryId()
      SMF30_NNPICtrs_Entry_ID value.
      Returns:
      NnpiCounters SMF30_NNPICtrs_Entry_ID value
    • smf30NnpiCtrsEntryIdRawValue

      public int smf30NnpiCtrsEntryIdRawValue()
      SMF30_NNPICtrs_Entry_ID value.
      Returns:
      int SMF30_NNPICtrs_Entry_ID raw value
    • smf30NnpiCtrsCount

      public long smf30NnpiCtrsCount()
      SMF30_NNPICtrs_Count value, throws exception if SMF30_NNPICtrs_Count overflows 64 bit signed integer.
      Returns:
      long SMF30_NNPICtrs_Count
      Throws:
      IllegalArgumentException - If the value of SMF30_NNPICtrs_Count exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF30_NNPICtrs_Count). Use smf30NnpiCtrsCountAsBigInteger() if this is possible.
    • smf30NnpiCtrsCountAsBigInteger

      public BigInteger smf30NnpiCtrsCountAsBigInteger()
      SMF30_NNPICtrs_Count value as a BigInteger.

      smf30NnpiCtrsCount() may provide better performance if the value will not exceed the maximum value for a signed long.

      Returns:
      BigInteger SMF30_NNPICtrs_Count
    • create

      public static NnpiCountersSection create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section