|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ProtocolConnection
public final class ProtocolConnection
Represents the email Protocol connection settings for pop/imap/smtp protocols.
Constructor Summary | |
---|---|
protected |
ProtocolConnection()
Initializes a new instance of the |
protected |
ProtocolConnection(java.lang.String encryptionMethod,
java.lang.String hostname,
int port)
Initializes a new instance of the ProtocolConnection class. |
Method Summary | |
---|---|
java.lang.String |
getEncryptionMethod()
Gets the encryption method. |
java.lang.String |
getHostname()
Gets the hostname. |
int |
getPort()
Gets the port number. |
protected static ProtocolConnection |
loadFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader)
Read user setting with ProtocolConnection value. |
void |
setEncryptionMethod(java.lang.String value)
Sets the encryption method. |
void |
setHostname(java.lang.String value)
Sets the hostname. |
void |
setPort(int value)
Sets the port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ProtocolConnection()
protected ProtocolConnection(java.lang.String encryptionMethod, java.lang.String hostname, int port)
encryptionMethod
- The encryption method.hostname
- The hostname.port
- The port number to use for the portocol.Method Detail |
---|
protected static ProtocolConnection loadFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader) throws java.lang.Exception
reader
- EwsServiceXmlReader
java.lang.Exception
- the exceptionpublic java.lang.String getEncryptionMethod()
public void setEncryptionMethod(java.lang.String value)
value
- the new encryption methodpublic java.lang.String getHostname()
public void setHostname(java.lang.String value)
value
- the new hostnamepublic int getPort()
public void setPort(int value)
value
- the new port
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |