Interface ReplyRetryNumberAccessor.ReplyRetryNumberProperty
- All Superinterfaces:
ReplyRetryNumberAccessor
,ReplyRetryNumberAccessor.ReplyRetryNumberMutator
- Enclosing interface:
ReplyRetryNumberAccessor
public static interface ReplyRetryNumberAccessor.ReplyRetryNumberProperty
extends ReplyRetryNumberAccessor, ReplyRetryNumberAccessor.ReplyRetryNumberMutator
Provides a reply retry number.A reply 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.ext.handshake.ReplyRetryNumberAccessor
ReplyRetryNumberAccessor.ReplyRetryNumberBuilder<B extends ReplyRetryNumberAccessor.ReplyRetryNumberBuilder<B>>, ReplyRetryNumberAccessor.ReplyRetryNumberMutator, ReplyRetryNumberAccessor.ReplyRetryNumberProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letReplyRetryNumber
(int aReplyRetryNumber) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofReplyRetryNumberAccessor.ReplyRetryNumberMutator.setReplyRetryNumber(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.serial.ext.handshake.ReplyRetryNumberAccessor
getReplyRetryNumber
Methods inherited from interface org.refcodes.serial.ext.handshake.ReplyRetryNumberAccessor.ReplyRetryNumberMutator
setReplyRetryNumber
-
Method Details
-
letReplyRetryNumber
default int letReplyRetryNumber(int aReplyRetryNumber) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofReplyRetryNumberAccessor.ReplyRetryNumberMutator.setReplyRetryNumber(int)
and returns the very same value (getter). A reply retry number is the overall number of retries to use when counting retries.- Parameters:
aReplyRetryNumber
- The integer to set (viaReplyRetryNumberAccessor.ReplyRetryNumberMutator.setReplyRetryNumber(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-