Module org.refcodes.serial
Package org.refcodes.serial
Interface ClearToSendRetryNumberAccessor.ClearToSendRetryNumberProperty
- All Superinterfaces:
ClearToSendRetryNumberAccessor
,ClearToSendRetryNumberAccessor.ClearToSendRetryNumberMutator
- Enclosing interface:
- ClearToSendRetryNumberAccessor
public static interface ClearToSendRetryNumberAccessor.ClearToSendRetryNumberProperty
extends ClearToSendRetryNumberAccessor, ClearToSendRetryNumberAccessor.ClearToSendRetryNumberMutator
Provides a CTS ("clear-to-send") retry number.A CTS ( "clear-to-send")
retry number is the overall number of retries to use when counting
retries.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.serial.ClearToSendRetryNumberAccessor
ClearToSendRetryNumberAccessor.ClearToSendRetryNumberBuilder<B extends ClearToSendRetryNumberAccessor.ClearToSendRetryNumberBuilder<B>>, ClearToSendRetryNumberAccessor.ClearToSendRetryNumberMutator, ClearToSendRetryNumberAccessor.ClearToSendRetryNumberProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letClearToSendRetryNumber
(int aClearToSendRetryNumber) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofClearToSendRetryNumberAccessor.ClearToSendRetryNumberMutator.setClearToSendRetryNumber(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.serial.ClearToSendRetryNumberAccessor
getClearToSendRetryNumber
Methods inherited from interface org.refcodes.serial.ClearToSendRetryNumberAccessor.ClearToSendRetryNumberMutator
setClearToSendRetryNumber
-
Method Details
-
letClearToSendRetryNumber
default int letClearToSendRetryNumber(int aClearToSendRetryNumber) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofClearToSendRetryNumberAccessor.ClearToSendRetryNumberMutator.setClearToSendRetryNumber(int)
and returns the very same value (getter). A CTS ("clear-to-send") retry number is the overall number of retries to use when counting retries.- Parameters:
aClearToSendRetryNumber
- The integer to set (viaClearToSendRetryNumberAccessor.ClearToSendRetryNumberMutator.setClearToSendRetryNumber(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-