org.idoox.transport.config
Interface MailConfig.Input

Enclosing interface:
MailConfig

public static interface MailConfig.Input

An input configuration.


Method Summary
 java.lang.String getPassword()
          Gets the password for the input server.
 java.lang.String getServer()
          Gets the input server URI like pop://server@pop.idoox.com.
 int getSleepInterval()
          Gets a sleep interval in milliseconds for the input when there is no new message.
 void setPassword(java.lang.String password)
          Sets a password for the input server.
 void setServer(java.lang.String uri)
          Sets the input server URI.
 void setSleepInterval(int interval)
          Sets a sleep interval in milliseconds for the input when there is no new message.
 

Method Detail

getServer

public java.lang.String getServer()
Gets the input server URI like pop://server@pop.idoox.com.

Returns:
the server URI

setServer

public void setServer(java.lang.String uri)
Sets the input server URI.

Parameters:
uri - the server URI

getPassword

public java.lang.String getPassword()
Gets the password for the input server.

Returns:
the password

setPassword

public void setPassword(java.lang.String password)
Sets a password for the input server.

Parameters:
password - the password

getSleepInterval

public int getSleepInterval()
Gets a sleep interval in milliseconds for the input when there is no new message.

Returns:
the sleep interval

setSleepInterval

public void setSleepInterval(int interval)
Sets a sleep interval in milliseconds for the input when there is no new message.

Parameters:
interval - the sleep interval