Package mireka.pop
Class PopServer
- Object
-
- mireka.pop.PopServer
-
public class PopServer extends ObjectPopServer contains configuration information and lifecycle management for the POP3 service.
-
-
Constructor Summary
Constructors Constructor Description PopServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBindAddress()StringgetDisplayableLocalSocketAddress()StringgetHostName()LoginSpecificationgetLoginSpecification()MaildropRepositorygetMaildropRepository()intgetMaximumConnections()intgetPort()PrincipalMaildropTablegetPrincipalMaildropTable()TlsConfigurationgetTlsConfiguration()voidsetBindAddress(String bindAddress)voidsetHostName(String hostName)The host name that will be reported to SMTP clientsvoidsetLoginSpecification(LoginSpecification loginSpecification)voidsetMaildropRepository(MaildropRepository maildropRepository)voidsetMaximumConnections(int maximumConnections)voidsetPort(int port)voidsetPrincipalMaildropTable(PrincipalMaildropTable principalMaildropTable)voidsetTlsConfiguration(TlsConfiguration tlsExtension)voidshutdown()voidstart()
-
-
-
Method Detail
-
start
@PostConstruct public void start()
-
shutdown
@PreDestroy public void shutdown()
-
getDisplayableLocalSocketAddress
public String getDisplayableLocalSocketAddress()
-
getBindAddress
public String getBindAddress()
- Category:
- GETSET
-
setBindAddress
public void setBindAddress(String bindAddress)
- Category:
- GETSET
-
getPort
public int getPort()
- Category:
- GETSET
-
setPort
public void setPort(int port)
- Category:
- GETSET
-
getMaximumConnections
public int getMaximumConnections()
- Category:
- GETSET
-
setMaximumConnections
public void setMaximumConnections(int maximumConnections)
- Category:
- GETSET
-
getHostName
public String getHostName()
- Returns:
- the host name that will be reported to SMTP clients
-
setHostName
public void setHostName(String hostName)
The host name that will be reported to SMTP clients
-
setLoginSpecification
public void setLoginSpecification(LoginSpecification loginSpecification)
- Category:
- GETSET
-
getLoginSpecification
public LoginSpecification getLoginSpecification()
- Category:
- GETSET
-
getMaildropRepository
public MaildropRepository getMaildropRepository()
- Category:
- GETSET
-
setMaildropRepository
public void setMaildropRepository(MaildropRepository maildropRepository)
- Category:
- GETSET
-
getPrincipalMaildropTable
public PrincipalMaildropTable getPrincipalMaildropTable()
- Category:
- GETSET
-
setPrincipalMaildropTable
public void setPrincipalMaildropTable(PrincipalMaildropTable principalMaildropTable)
- Category:
- GETSET
-
setTlsConfiguration
public void setTlsConfiguration(TlsConfiguration tlsExtension)
- Category:
- GETSET
-
getTlsConfiguration
public TlsConfiguration getTlsConfiguration()
- Category:
- GETSET
-
-