public abstract class ExchangeClientBase extends Object implements IExchangeClientBase
Provides the abstract base class to MS Exchange Server access.
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
protected void |
dispose(boolean disposing)
Releases unmanaged and - optionally - managed resources
|
ICredentials |
getCredentials()
Gets or sets the credentials
|
String |
getLogFileName()
Gets or sets log file name
|
String |
getMailboxUri()
Gets or sets the mailbox uri
|
WebProxy |
getProxy()
Gets or sets the proxy.
|
int |
getTimeout()
Gets or sets the number of milliseconds to wait before the operation times out.
|
boolean |
getUseDateInLogFileName()
Gets or sets value which indicates if date has to be used in log file name.
|
void |
resetLogSettings()
Resets logging settings to default.
|
static void |
setCommonLogFileName(String value)
Sets log file name for all sessions.
|
void |
setCredentials(ICredentials value)
Gets or sets the credentials
|
void |
setLogFileName(String value)
Gets or sets log file name
|
void |
setMailboxUri(String value)
Gets or sets the mailbox uri
|
void |
setProxy(WebProxy value)
Gets or sets the proxy.
|
void |
setTimeout(int value)
Gets or sets the number of milliseconds to wait before the operation times out.
|
void |
setUseDateInLogFileName(boolean value)
Gets or sets value which indicates if date has to be used in log file name.
|
public static void setCommonLogFileName(String value)
Sets log file name for all sessions.
value - The log file name.public WebProxy getProxy()
Gets or sets the proxy.
getProxy in interface IExchangeClientBasepublic void setProxy(WebProxy value)
Gets or sets the proxy.
setProxy in interface IExchangeClientBasepublic ICredentials getCredentials()
Gets or sets the credentials
Value: ICredentialsgetCredentials in interface IExchangeClientBasepublic void setCredentials(ICredentials value)
Gets or sets the credentials
Value: ICredentialssetCredentials in interface IExchangeClientBasepublic String getMailboxUri()
Gets or sets the mailbox uri
Value: Uri of the mailboxpublic void setMailboxUri(String value)
Gets or sets the mailbox uri
Value: Uri of the mailboxpublic int getTimeout()
Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
Value: Timeout in millisecondsgetTimeout in interface IExchangeClientBasepublic void setTimeout(int value)
Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
Value: Timeout in millisecondssetTimeout in interface IExchangeClientBasepublic final void resetLogSettings()
Resets logging settings to default.
public final String getLogFileName()
Gets or sets log file name
public final void setLogFileName(String value)
Gets or sets log file name
public final boolean getUseDateInLogFileName()
Gets or sets value which indicates if date has to be used in log file name.
public final void setUseDateInLogFileName(boolean value)
Gets or sets value which indicates if date has to be used in log file name.
public void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose in interface IDisposablepublic void close()
close in interface IExchangeClientBaseclose in interface Closeableclose in interface AutoCloseableprotected void dispose(boolean disposing)
Releases unmanaged and - optionally - managed resources
disposing - true to release both managed and unmanaged resources; false to release only unmanaged resources.Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.