Interface PdSubscriberHandle


public interface PdSubscriberHandle
Handle to a subscriber registered with a TrdpPdSession. Provides status and statistics access.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the ComID of this subscriber.
    long
    Returns the number of duplicate/old packets discarded.
    long
    Returns the number of missed packets detected via sequence counter gaps.
    long
    Returns the number of valid packets received (after topology check, matching ComID).
    long
    Returns the number of times this subscriber has timed out.
    long
    Returns the number of packets discarded due to topology mismatch.
    boolean
    Returns whether this subscriber has timed out (no valid data within timeout period).
    void
    Resets all statistics counters to zero.
  • Method Details

    • getComId

      int getComId()
      Returns the ComID of this subscriber.
    • isTimedOut

      boolean isTimedOut()
      Returns whether this subscriber has timed out (no valid data within timeout period).
    • getMissedCount

      long getMissedCount()
      Returns the number of missed packets detected via sequence counter gaps.
    • getDuplicateCount

      long getDuplicateCount()
      Returns the number of duplicate/old packets discarded.
    • getTopoErrorCount

      long getTopoErrorCount()
      Returns the number of packets discarded due to topology mismatch.
    • getPacketsReceived

      long getPacketsReceived()
      Returns the number of valid packets received (after topology check, matching ComID).
    • getTimeoutCount

      long getTimeoutCount()
      Returns the number of times this subscriber has timed out.
    • resetStatistics

      void resetStatistics()
      Resets all statistics counters to zero.