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 |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
protected void |
dispose(boolean disposing)
Releases unmanaged and - optionally - managed resources
|
com.aspose.ms.System.Net.ICredentials |
getCredentials()
Gets or sets the credentials
|
String |
getLogFileName()
Gets or sets log file name
|
String |
getMailboxUri()
Gets or sets the mailbox uri
|
com.aspose.ms.System.Net.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.
|
void |
setCredentials(com.aspose.ms.System.Net.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(com.aspose.ms.System.Net.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 com.aspose.ms.System.Net.WebProxy getProxy()
Gets or sets the proxy.
getProxy
in interface IExchangeClientBase
public void setProxy(com.aspose.ms.System.Net.WebProxy value)
Gets or sets the proxy.
setProxy
in interface IExchangeClientBase
public com.aspose.ms.System.Net.ICredentials getCredentials()
Gets or sets the credentials
Value: ICredentialsgetCredentials
in interface IExchangeClientBase
public void setCredentials(com.aspose.ms.System.Net.ICredentials value)
Gets or sets the credentials
Value: ICredentialssetCredentials
in interface IExchangeClientBase
public 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 IExchangeClientBase
public 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 IExchangeClientBase
public 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 com.aspose.ms.System.IDisposable
protected 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.