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

net.engio.mbassy.bus.common.PublicationEvent Maven / Gradle / Ivy

package net.engio.mbassy.bus.common;

/**
 * A wrapped event is created when various conditions are matched (these depend on the concrete
 * (sub)type of wrapped event).
 *
 * @author bennidi
 *         Date: 3/1/13
 */
public abstract class PublicationEvent {

    private Object relatedMessage;

    public PublicationEvent(Object message) {
        this.relatedMessage = message;
    }

    public Object getMessage() {
        return relatedMessage;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy