Interface ServerApopReplyHandler

All Superinterfaces:
ServerReplyHandler

public interface ServerApopReplyHandler extends ServerReplyHandler
Handler for APOP command response.

On success, the handler enters the TRANSACTION state. On failure, the handler returns to the AUTHORIZATION state.

Author:
Chris Burdess
See Also:
  • Method Details

    • handleAuthenticated

      void handleAuthenticated(ClientTransactionState transaction)
      Called when APOP authentication succeeds (+OK).
      Parameters:
      transaction - operations available in the TRANSACTION state
    • handleAuthFailed

      void handleAuthFailed(ClientAuthorizationState auth, String message)
      Called when APOP authentication fails (-ERR).
      Parameters:
      auth - operations to retry in the AUTHORIZATION state
      message - the server's error message