Interface ConnectionInfo


public interface ConnectionInfo
ConnectionInfo contains the connection id and connection counter related to the established connection.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the connection counter that counts how many times this connection (with the specified connection id ) has been used.
    byte[]
    Returns the connection id as byte array.
  • Method Details

    • getId

      byte[] getId()
      Returns the connection id as byte array. Each connection to a specific destination has an unique id.
      Returns:
      connection id as byte array.
    • getCounter

      int getCounter()
      Returns the connection counter that counts how many times this connection (with the specified connection id ) has been used. For example: component A has been sent 4 requests to component B using the same connection. Then the counter would be 4.
      Returns:
      the connection counter.