Path: blob/main/docs/versioned_docs/version-v0.25/guide/05-scavenge/06-handlers.md
1007 views
---
---
Handlers
For a message to reach a keeper, it has to go through a message server handler. A handler is where you can apply logic to allow or deny a message to succeed.
If you're familiar with the Model-view-controller (MVC) software architecture, the keeper is a bit like the model, and the handler is a bit like the controller.
If you're familiar with React or Vue architecture, the keeper is a bit like the reducer store and the handler is a bit like actions.
Three message types were automatically added to the message server:
MsgSubmitScavenge
MsgCommitSolution
MsgRevealSolution
Each message, when handled, calls the appropriate keeper method that is responsible for committing changes to the store.