Package 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 java.lang.Object

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

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Counter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | 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!