Interface ServerApopReplyHandler
- All Superinterfaces:
ServerReplyHandler
Handler for APOP command response.
On success, the handler enters the TRANSACTION state. On failure, the handler returns to the AUTHORIZATION state.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleAuthenticated(ClientTransactionState transaction) Called when APOP authentication succeeds (+OK).voidhandleAuthFailed(ClientAuthorizationState auth, String message) Called when APOP authentication fails (-ERR).Methods inherited from interface org.bluezoo.gumdrop.pop3.client.handler.ServerReplyHandler
handleServiceClosing
-
Method Details
-
handleAuthenticated
Called when APOP authentication succeeds (+OK).- Parameters:
transaction- operations available in the TRANSACTION state
-
handleAuthFailed
Called when APOP authentication fails (-ERR).- Parameters:
auth- operations to retry in the AUTHORIZATION statemessage- the server's error message
-