public interface MessageFilter<T extends AbstractNode,C extends Context<T>>
MessageFilter allows performing custom
logic upon reception or dispatch of messages deciding
whether the operation can continue or not.| Modifier and Type | Method and Description |
|---|---|
Status |
onDispatch(C context)
Intercepts a message to be dispatched to the
given destination.
|
Status |
onReceive(C context)
Intercepts a message to be received from the
given origin.
|
Copyright © 2019 state-machine. All rights reserved.