Package de.adrianlange.mcd.model
Interface MailserverService
-
- All Known Subinterfaces:
MozillaAutoconfMailserverService,SrvRecordMailserverService
- All Known Implementing Classes:
AbstractMailserverService,MozillaAutoconfMailserverServiceImpl,SrvRecordMailserverServiceImpl
public interface MailserverService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurationMethodgetConfigurationMethod()Returns the configuration method over which the mailserver configuration has been discovered.StringgetHost()Host URL of the mailserver service.IntegergetPort()Port of the mailserver service.ProtocolgetProtocol()Returns the protocol of the mailserver service.SocketTypegetSocketType()Returns the socket type od the mailserver configuration.
-
-
-
Method Detail
-
getProtocol
Protocol getProtocol()
Returns the protocol of the mailserver service. This can be SMTP for submission or IMAP or POP3 for reception.- Returns:
- protocol of the mailserver service
-
getSocketType
SocketType getSocketType()
Returns the socket type od the mailserver configuration. This can eiter be PLAIN, STARTTLS or SSL.- Returns:
- Socket type of the service or
nullif unknown
-
getHost
String getHost()
Host URL of the mailserver service.- Returns:
- Host URL. May be
nullif this configuration should not be used / the protocol is not supported!
-
getPort
Integer getPort()
Port of the mailserver service.- Returns:
- Port. May be
nullif this configuration should not be used / the protocol is not supported!
-
getConfigurationMethod
ConfigurationMethod getConfigurationMethod()
Returns the configuration method over which the mailserver configuration has been discovered.- Returns:
- Mailserver configuration.
-
-