tigase.server.xmppclient

## Class StreamManagementIOProcessor.Counter

- java.lang.Object
- - tigase.server.xmppclient.StreamManagementIOProcessor.Counter

- Direct Known Subclasses:
    StreamManagementIOProcessor.OutQueue
  Enclosing class:
    StreamManagementIOProcessor

      public static class StreamManagementIOProcessor.Counter
      extends Object

  Counter class implements proper counter with overflow from 2^32-1 to 0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Counter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `get()` Get value of counter.
    `void` | `inc()` Increment counter
    `protected void` | `setCounter(int value)` Sets value of a counter - use only for testing!

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Counter

          public Counter()

  - ### Method Detail

    - #### inc

          public void inc()

      Increment counter

    - #### get

          public int get()

      Get value of counter.

    - #### setCounter

          protected void setCounter(int value)

      Sets value of a counter - use only for testing!
      Parameters:
        `value` -

Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.