
org.nlab.smtp.transport.strategy.ConnectionStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smtp-connection-pool Show documentation
Show all versions of smtp-connection-pool Show documentation
SMTP Connection Pool which uses JavaMail and Apache Common Pool
package org.nlab.smtp.transport.strategy;
import javax.mail.MessagingException;
import javax.mail.Transport;
/**
* Connection strategy that abstract {@link Transport#connect}
*
* Created by nlabrot on 04/06/15.
*/
public interface ConnectionStrategy {
void connect(Transport transport) throws MessagingException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy