Stubbed out IMAP and SMTP
This commit is contained in:
27
src/i2p/bote/imap/ImapService.java
Normal file
27
src/i2p/bote/imap/ImapService.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package i2p.bote.imap;
|
||||
|
||||
import org.apache.commons.configuration.ConfigurationException;
|
||||
|
||||
import i2p.bote.Configuration;
|
||||
import i2p.bote.fileencryption.PasswordVerifier;
|
||||
import i2p.bote.folder.EmailFolderManager;
|
||||
|
||||
/**
|
||||
* Stubbed-out ImapService
|
||||
*/
|
||||
public class ImapService {
|
||||
public ImapService(Configuration configuration, final PasswordVerifier passwordVerifier, EmailFolderManager folderManager) throws ConfigurationException {
|
||||
}
|
||||
|
||||
public boolean isStarted() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean start() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean stop() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
25
src/i2p/bote/smtp/SmtpService.java
Normal file
25
src/i2p/bote/smtp/SmtpService.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package i2p.bote.smtp;
|
||||
|
||||
import java.net.UnknownHostException;
|
||||
|
||||
import i2p.bote.Configuration;
|
||||
import i2p.bote.MailSender;
|
||||
import i2p.bote.fileencryption.PasswordVerifier;
|
||||
|
||||
/**
|
||||
* Stubbed-out SmtpService
|
||||
*/
|
||||
public class SmtpService {
|
||||
public SmtpService(Configuration configuration, PasswordVerifier passwordVerifier, MailSender mailSender) throws UnknownHostException {
|
||||
}
|
||||
|
||||
public boolean isRunning() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void start() {
|
||||
}
|
||||
|
||||
public void stop() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user