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

org.mailster.smtp.api.handler.Delivery Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package org.mailster.smtp.api.handler;

import org.mailster.smtp.api.MessageListener;

/**
 * Tracks which listeners need delivery.
 *
 * @author De Oliveira Edouard <[email protected]>
 */
public class Delivery {

    private MessageListener listener;
    private String recipient;

    public Delivery(MessageListener listener, String recipient) {
        this.listener = listener;
        this.recipient = recipient;
    }

    public MessageListener getListener() {
        return this.listener;
    }

    public String getRecipient() {
        return this.recipient;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy