Module org.refcodes.serial
Package org.refcodes.serial
Interface PingRetryNumberAccessor.PingRetryNumberProperty
- All Superinterfaces:
PingRetryNumberAccessor
,PingRetryNumberAccessor.PingRetryNumberMutator
- Enclosing interface:
- PingRetryNumberAccessor
public static interface PingRetryNumberAccessor.PingRetryNumberProperty
extends PingRetryNumberAccessor, PingRetryNumberAccessor.PingRetryNumberMutator
Provides a ping retry number.A ping 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.PingRetryNumberAccessor
PingRetryNumberAccessor.PingRetryNumberBuilder<B extends PingRetryNumberAccessor.PingRetryNumberBuilder<B>>, PingRetryNumberAccessor.PingRetryNumberMutator, PingRetryNumberAccessor.PingRetryNumberProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
letPingRetryNumber
(int aPingRetryNumber) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofPingRetryNumberAccessor.PingRetryNumberMutator.setPingRetryNumber(int)
and returns the very same value (getter).Methods inherited from interface org.refcodes.serial.PingRetryNumberAccessor
getPingRetryNumber
Methods inherited from interface org.refcodes.serial.PingRetryNumberAccessor.PingRetryNumberMutator
setPingRetryNumber
-
Method Details
-
letPingRetryNumber
default int letPingRetryNumber(int aPingRetryNumber) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given integer (setter) as ofPingRetryNumberAccessor.PingRetryNumberMutator.setPingRetryNumber(int)
and returns the very same value (getter). A ping retry number is the overall number of retries to use when counting retries.- Parameters:
aPingRetryNumber
- The integer to set (viaPingRetryNumberAccessor.PingRetryNumberMutator.setPingRetryNumber(int)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-