Package de.das.encrypter.processors
Interface ResultReceiver
- All Known Implementing Classes:
CryptoServer
public interface ResultReceiver
Interface for classes which want to get information about the result of
transfer operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that the result is from a communication test.static final String[]static final intIndicates the interruption of the transmission because an error has occurred on the receiver side.static final intIndicates that the previous transfer failed.static final intIndicates that the previous transfer was successful. -
Method Summary
-
Field Details
-
PARTNER_RESPONSE
static final int PARTNER_RESPONSEIndicates that the result is from a communication test. The additional information provides information about the availability of the requested key (OK) or its absence (NOK).- See Also:
-
TRANSFER_FAILED
static final int TRANSFER_FAILEDIndicates that the previous transfer failed.- See Also:
-
TRANSFER_VALID
static final int TRANSFER_VALIDIndicates that the previous transfer was successful.- See Also:
-
TRANSFER_BREAK
static final int TRANSFER_BREAKIndicates the interruption of the transmission because an error has occurred on the receiver side.- See Also:
-
RESULT_STRINGS
-
-
Method Details
-
setResult
Sets the result and additional info of a transfer operation.- Parameters:
result- the result of the transfer operation.info- an additional info if required.
-