Interface PdSubscriberHandle
public interface PdSubscriberHandle
Handle to a subscriber registered with a
TrdpPdSession.
Provides status and statistics access.-
Method Summary
Modifier and TypeMethodDescriptionintgetComId()Returns the ComID of this subscriber.longReturns the number of duplicate/old packets discarded.longReturns the number of missed packets detected via sequence counter gaps.longReturns the number of valid packets received (after topology check, matching ComID).longReturns the number of times this subscriber has timed out.longReturns the number of packets discarded due to topology mismatch.booleanReturns whether this subscriber has timed out (no valid data within timeout period).voidResets 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.
-