All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fi.jumi.core.events.StartableEventizer Maven / Gradle / Ivy

There is a newer version: 0.5.437
Show newest version
package fi.jumi.core.events;

import fi.jumi.actors.eventizers.Event;
import fi.jumi.actors.eventizers.Eventizer;
import fi.jumi.actors.queue.MessageSender;
import fi.jumi.core.events.startable.*;
import fi.jumi.core.util.Startable;

public class StartableEventizer implements Eventizer {

    public Class getType() {
        return Startable.class;
    }

    public Startable newFrontend(MessageSender> target) {
        return new StartableToEvent(target);
    }

    public MessageSender> newBackend(Startable target) {
        return new EventToStartable(target);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy