接口 PacketSentTimeHolder

  • 所有已知实现类:
    TimeTrackingPacketSender

    public interface PacketSentTimeHolder
    Holds the time the last packet was sent.
    • 方法详细资料

      • getLastPacketSentTime

        default long getLastPacketSentTime()
        Returns the send time of a very recent packet. Should be used in exception generation when the send operation failed.
        返回:
        very recent packet send time
      • getPreviousPacketSentTime

        default long getPreviousPacketSentTime()
        Returns the send time of a previous packet. Should be used in exception generation when the send operation was successful but the following read operation failed.
        返回:
        previous packet send time