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

org.monte.media.concurrent.SequentialDispatcher Maven / Gradle / Ivy

The newest version!

package org.monte.media.concurrent;


public class SequentialDispatcher extends EventLoop {

    public SequentialDispatcher() {
    }

    public SequentialDispatcher(int priority) {
        super(priority);
    }


    protected void processEvent(Object event) {
        Runnable r = (Runnable) event;
        r.run();
    }


    public void dispatch(Runnable r) {
        collectEvent(r);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy