|
|||||||||
| 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(String encryptionMethod,
String hostname,
int port)
Initializes a new instance of the ProtocolConnection class. |
| Method Summary | |
|---|---|
String |
getEncryptionMethod()
Gets the encryption method. |
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(String value)
Sets the encryption method. |
void |
setHostname(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(String encryptionMethod,
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 Exception
reader - EwsServiceXmlReader
Exception - the exceptionpublic String getEncryptionMethod()
public void setEncryptionMethod(String value)
value - the new encryption methodpublic String getHostname()
public void setHostname(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 | ||||||||