public final class ProtocolConnection extends Object
Modifier | Constructor and Description |
---|---|
protected |
ProtocolConnection()
Initializes a new instance of the
ProtocolConnection class. |
protected |
ProtocolConnection(String encryptionMethod,
String hostname,
int port)
Initializes a new instance of the ProtocolConnection class.
|
Modifier and Type | Method and Description |
---|---|
String |
getEncryptionMethod()
Gets the encryption method.
|
String |
getHostname()
Gets the hostname.
|
int |
getPort()
Gets the port number.
|
protected static ProtocolConnection |
loadFromXml(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.
|
protected ProtocolConnection()
ProtocolConnection
class.protected ProtocolConnection(String encryptionMethod, String hostname, int port)
encryptionMethod
- The encryption method.hostname
- The hostname.port
- The port number to use for the portocol.protected static ProtocolConnection loadFromXml(EwsXmlReader reader) throws Exception
reader
- EwsServiceXmlReaderException
- 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 portCopyright © 2012–2015 Microsoft. All rights reserved.