ExchangeClientBase
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.email.IExchangeClientBase
public abstract class ExchangeClientBase implements IExchangeClientBase
Provides the abstract base class to MS Exchange Server access.
Methods
Method | Description |
---|---|
close() | |
dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
equals(Object arg0) | |
getClass() | |
getCredentials() | Gets or sets the credentials |
getLogFileName() | Gets or sets log file name |
getMailboxUri() | Gets or sets the mailbox uri |
getProxy() | Gets or sets the proxy. |
getTimeout() | Gets or sets the number of milliseconds to wait before the operation times out. |
getUseDateInLogFileName() | Gets or sets value which indicates if date has to be used in log file name. |
hashCode() | |
notify() | |
notifyAll() | |
resetLogSettings() | Resets logging settings to default. |
setCommonLogFileName(String value) | Sets log file name for all sessions. |
setCredentials(System.Net.ICredentials value) | Gets or sets the credentials |
setLogFileName(String value) | Gets or sets log file name |
setMailboxUri(String value) | Gets or sets the mailbox uri |
setProxy(System.Net.WebProxy value) | Gets or sets the proxy. |
setTimeout(int value) | Gets or sets the number of milliseconds to wait before the operation times out. |
setUseDateInLogFileName(boolean value) | Gets or sets value which indicates if date has to be used in log file name. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
close()
public void close()
dispose()
public void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCredentials()
public System.Net.ICredentials getCredentials()
Gets or sets the credentials
Value: ICredentials
Returns: com.aspose.ms.System.Net.ICredentials
getLogFileName()
public final String getLogFileName()
Gets or sets log file name
Returns: java.lang.String
getMailboxUri()
public String getMailboxUri()
Gets or sets the mailbox uri
Value: Uri of the mailbox
Returns: java.lang.String
getProxy()
public System.Net.WebProxy getProxy()
Gets or sets the proxy.
Returns: com.aspose.ms.System.Net.WebProxy
getTimeout()
public 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 milliseconds
Returns: int
getUseDateInLogFileName()
public final boolean getUseDateInLogFileName()
Gets or sets value which indicates if date has to be used in log file name.
Returns: boolean
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
resetLogSettings()
public final void resetLogSettings()
Resets logging settings to default.
setCommonLogFileName(String value)
public static void setCommonLogFileName(String value)
Sets log file name for all sessions.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The log file name. |
setCredentials(System.Net.ICredentials value)
public void setCredentials(System.Net.ICredentials value)
Gets or sets the credentials
Value: ICredentials
Parameters:
Parameter | Type | Description |
---|---|---|
value | com.aspose.ms.System.Net.ICredentials |
setLogFileName(String value)
public final void setLogFileName(String value)
Gets or sets log file name
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setMailboxUri(String value)
public void setMailboxUri(String value)
Gets or sets the mailbox uri
Value: Uri of the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setProxy(System.Net.WebProxy value)
public void setProxy(System.Net.WebProxy value)
Gets or sets the proxy.
Parameters:
Parameter | Type | Description |
---|---|---|
value | com.aspose.ms.System.Net.WebProxy |
setTimeout(int value)
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 milliseconds
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setUseDateInLogFileName(boolean value)
public final void setUseDateInLogFileName(boolean value)
Gets or sets value which indicates if date has to be used in log file name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |