public class UiActorDispatcher extends AbsActorDispatcher {
public UiActorDispatcher(ActorSystem actorSystem) {
super(actorSystem);
initDispatcher(new UiDispatcher<Envelope, MailboxesQueue>(new MailboxesQueue(), new Dispatch<Envelope>() {
@Override
public void dispatchMessage(Envelope message) {
processEnvelope(message);
}
}));