com.shinitech.djammadev.jobs.TaskReceiver Maven / Gradle / Ivy
package com.shinitech.djammadev.jobs;
import akka.actor.AbstractActor;
/**
* Created by sissoko on 31/10/2017.
*/
public class TaskReceiver extends AbstractActor {
@Override
public Receive createReceive() {
return receiveBuilder().match(Job.class, Job::doJob)
.build();
}
}