|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dtw.webmail.util.config.MailTransportAgent
This class...
Constructor Summary | |
MailTransportAgent()
Constructs a new MailTransportAgent instance. |
Method Summary | |
java.lang.String |
getAddress()
Returns the internet address of this MailTransportAgent. |
java.lang.String |
getName()
Returns a common name for this MailTransportAgent. |
int |
getPort()
Returns the port of this MailTransportAgent. |
java.lang.String |
getProtocol()
Returns the protocol required for this MailTransportAgent. |
int |
getTransportLimit()
Returns the maximum message size in kB's allowed for transport. |
boolean |
isAuthenticated()
Tests if this MailTransportAgent should be used with authentication. |
boolean |
isSecure()
Tests if the communication with this MailTransportAgent should be secure. |
void |
setAddress(java.lang.String address)
Sets the internet address of this MailTransportAgent. |
void |
setAuthenticated(boolean auth)
Sets the use of this MailTransportAgent to be authenticated. |
void |
setName(java.lang.String name)
Sets the common name for this MailTransportAgent. |
void |
setPort(int port)
Sets the port of this this MailTransportAgent. |
void |
setProtocol(java.lang.String protocol)
Sets the protocol required for this MailTransportAgent. |
void |
setSecure(boolean secure)
Sets the communication with this MailTransportAgent to be secure. |
void |
setTransportLimit(int size)
Sets the maximum message size in kB's allowed for transport. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MailTransportAgent()
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name as String.public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol
- the protocol as String.public java.lang.String getAddress()
public void setAddress(java.lang.String address)
address
- the address as String.public int getPort()
public void setPort(int port)
port
- the port as intpublic boolean isSecure()
#getSecureSocketFactory()
public void setSecure(boolean secure)
secure
- true if secure, false otherwise.#setSecureSocketFactory(String factory)
public boolean isAuthenticated()
public void setAuthenticated(boolean auth)
auth
- true if authenticated use, false otherwise.public int getTransportLimit()
public void setTransportLimit(int size)
size
- the maximum size as int.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |