|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateVisitor
The StateVisitor
is a part of a VisitorPattern and
offers callback functions which will be called from the
State.accept(StateVisitor)
method.
Method Summary | |
---|---|
void |
handleBlockBeforeGreylist(BlockBeforeGreylistState visitee)
Callback function when the delivery attempt should be rejected as it is on a calculated blacklist. |
void |
handleNotOnGreylist(NotOnGreylistState visitee)
Callback function when the delivery attempt should be deferred as it has not been seen before. |
void |
handleOnWhitelist(OnWhitelistState visitee)
Callback function when the delivery attempt should be accepted as it is on the internal whitelist. |
void |
handlePassBeforeGreylist(PassBeforeGreylistState visitee)
Callback function when the delivery attempt should be accepted as it is on a calculated whitelist. |
void |
handlePassedGreylist(PassedGreylistState visitee)
Callback function when the delivery attempt should be accepted as it has passed the greylisting. |
void |
handlePassWhileGreylisted(PassWhileGreylistedState visitee)
Callback function when the delivery attempt should be accepted as it is on a calculated whitelist. |
void |
handleStillDelayed(StillDelayedState visitee)
Callback function when the delivery attempt should be deferred again as its delay time has not passed, yet. |
Method Detail |
---|
void handleOnWhitelist(OnWhitelistState visitee)
visitee
- the state contains all information of the delivery attempt.void handlePassedGreylist(PassedGreylistState visitee)
visitee
- the state contains all information of the delivery attempt.void handleNotOnGreylist(NotOnGreylistState visitee)
visitee
- the state contains all information of the delivery attempt.void handleStillDelayed(StillDelayedState visitee)
visitee
- the state contains all information of the delivery attempt.void handlePassBeforeGreylist(PassBeforeGreylistState visitee)
visitee
- the state contains all information of the delivery attempt.void handlePassWhileGreylisted(PassWhileGreylistedState visitee)
visitee
- the state contains all information of the delivery attempt.void handleBlockBeforeGreylist(BlockBeforeGreylistState visitee)
visitee
- the state contains all information of the delivery attempt.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |