Package com.io7m.coffeepick.api
Interface CoffeePickVerificationType
-
- All Known Implementing Classes:
CoffeePickVerification
@Immutable public interface CoffeePickVerificationTypeA value indicating whether or not the verification of an inventory item succeeded.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RuntimeHashexpectedHash()default booleanisVerified()RuntimeHashreceivedHash()
-
-
-
Method Detail
-
expectedHash
RuntimeHash expectedHash()
- Returns:
- The expected hash value
-
receivedHash
RuntimeHash receivedHash()
- Returns:
- The received hash value
-
isVerified
default boolean isVerified()
- Returns:
trueif the expected hash matched the received hash
-
-