Class AbstractReadyToSendTransmissionDecorator<DECORATEE extends Transmission>

java.lang.Object
org.refcodes.serial.AbstractReadyToSendTransmissionDecorator<DECORATEE>
Type Parameters:
DECORATEE - The decoratee type describing the according subclass to be enriched.
All Implemented Interfaces:
Serializable, org.refcodes.mixin.DecorateeAccessor<DECORATEE>, org.refcodes.mixin.LengthAccessor, ClearToSendMagicBytesAccessor, ClearToSendSegmentPackagerAccessor, ClearToSendTimeoutInMsAccessor, EnquiryStandbyTimeInMsAccessor, ReadyToSendMagicBytesAccessor, ReadyToSendRetryNumberAccessor, ReadyToSendSegmentPackagerAccessor, ReadyToSendTimeoutInMsAccessor, ReadyToSendTransmission, Transmission, Transmission.TransmissionMixin
Direct Known Subclasses:
ReadyToSendSectionDecorator, ReadyToSendSegmentDecorator

public abstract class AbstractReadyToSendTransmissionDecorator<DECORATEE extends Transmission>
extends Object
implements ReadyToSendTransmission, Transmission.TransmissionMixin, org.refcodes.mixin.DecorateeAccessor<DECORATEE>
The AbstractReadyToSendTransmissionDecorator class implements a decorator providing ReadyToSendTransmission functionality for a Transmission.
See Also:
Serialized Form
  • Field Details

    • RTS_MAGIC_BYTES

      public static final String RTS_MAGIC_BYTES
      See Also:
      Constant Field Values
    • RTS_TIMEOUT_IN_MS

      public static final String RTS_TIMEOUT_IN_MS
      See Also:
      Constant Field Values
    • RTS_RETRY_NUMBER

      public static final String RTS_RETRY_NUMBER
      See Also:
      Constant Field Values
    • CTS_MAGIC_BYTES

      public static final String CTS_MAGIC_BYTES
      See Also:
      Constant Field Values
    • CTS_TIMEOUT_IN_MS

      public static final String CTS_TIMEOUT_IN_MS
      See Also:
      Constant Field Values
    • _decoratee

      protected DECORATEE extends Transmission _decoratee
    • _enquiryStandbyTimeInMs

      protected long _enquiryStandbyTimeInMs
    • _clearToSendTimeoutInMs

      protected long _clearToSendTimeoutInMs
    • _clearToSendMagicBytes

      protected byte[] _clearToSendMagicBytes
    • _clearToSendMagicBytesSegment

      protected MagicBytesSegment _clearToSendMagicBytesSegment
    • _clearToSendSegment

      protected Segment _clearToSendSegment
    • _clearToSendSegmentPackager

      protected SegmentPackager _clearToSendSegmentPackager
    • _readyToSendTimeoutInMs

      protected long _readyToSendTimeoutInMs
    • _readyToSendMagicBytes

      protected byte[] _readyToSendMagicBytes
    • _readyToSendSegmentPackager

      protected SegmentPackager _readyToSendSegmentPackager
    • _readyToSendRetryNumber

      protected int _readyToSendRetryNumber
    • _readyToSendMagicBytesSegment

      protected MagicBytesSegment _readyToSendMagicBytesSegment
    • _readyToSendSegment

      protected Segment _readyToSendSegment
  • Constructor Details

    • AbstractReadyToSendTransmissionDecorator

      protected AbstractReadyToSendTransmissionDecorator()
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics)
      Constructs an according control-flow decorator instance wrapping the given decoratee. The configuration attributes are taken from the TransmissionMetrics configuration object, though only those attributes are supported which are also supported by the other constructors!
      Parameters:
      aDecoratee - The decoratee to be wrapped by the control-flow decorator.
      aTransmissionMetrics - The TransmissionMetrics to be used for configuring this instance.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, byte[] aClearToSendMagicBytes)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes no timeout (blocking mode).
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, byte[] aClearToSendMagicBytes)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, long aReadyToSendTimeoutInMs, byte[] aClearToSendMagicBytes, long aClearToSendTimeoutInMs)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, byte[] aClearToSendMagicBytes)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, byte[] aClearToSendMagicBytes)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, long aClearToSendTimeoutInMs)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, long aReadyToSendTimeoutInMs, byte[] aClearToSendMagicBytes, long aClearToSendTimeoutInMs)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a RTS ("ready-to-receive") to the transmitter.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
    • AbstractReadyToSendTransmissionDecorator

      public AbstractReadyToSendTransmissionDecorator​(DECORATEE aDecoratee, long aEnquiryStandbyTimeInMs, byte[] aReadyToSendMagicBytes, int aReadyToSendRetryNumber, long aReadyToSendTimeoutInMs, SegmentPackager aReadyToSendSegmentPackager, byte[] aClearToSendMagicBytes, long aClearToSendTimeoutInMs, SegmentPackager aClearToSendSegmentPackager)
      Constructs an according flow-control decorator instance wrapping the given decoratee.
      Parameters:
      aDecoratee - The decoratee to be wrapped by the flow-control decorator.
      aEnquiryStandbyTimeInMs - The timeout in milliseconds to wait for an RTS request (receiver) from the transmitter. A value of -1 denotes the timeout being disabled.
      aReadyToSendMagicBytes - The RTS characters to be used to signal a RTS.
      aReadyToSendRetryNumber - The number of retries sending an RTS over the payload (data) channel.
      aReadyToSendTimeoutInMs - The timeout in milliseconds to wait for a CTS response (transmitter) from the receiver after signaling a RTS ("ready-to-send") to the receiver.
      aReadyToSendSegmentPackager - The RTS SegmentPackager for packaging RTS responses.
      aClearToSendMagicBytes - The CTS characters to be used to signal a CTS.
      aClearToSendTimeoutInMs - The timeout in milliseconds to wait for a payload response (receiver) from the transmitter after signaling a CTS ("ready-to-receive") to the transmitter.
      aClearToSendSegmentPackager - The CTS SegmentPackager for packaging CTS responses.
  • Method Details