public class ImapMonitoringEventArgs
extends com.aspose.ms.System.EventArgs
Class contains monitoring event data.
Constructor and Description |
---|
ImapMonitoringEventArgs(String folderName,
ImapMessageInfo[] newMessages,
ImapMessageInfo[] deletedMessages)
Initializes a new instance of the
ImapMonitoringEventArgs class |
ImapMonitoringEventArgs(String folderName,
Throwable error)
Initializes a new instance of the
ImapMonitoringEventArgs class |
Modifier and Type | Method and Description |
---|---|
ImapMessageInfo[] |
getDeletedMessages()
Gets deleted messages
|
Throwable |
getError()
Gets error of IMAP IDLE operation.
|
String |
getFolderName()
Gets specified folder for monitoring operation.
|
ImapMessageInfo[] |
getNewMessages()
Gets new messages
|
public ImapMonitoringEventArgs(String folderName, ImapMessageInfo[] newMessages, ImapMessageInfo[] deletedMessages)
Initializes a new instance of the ImapMonitoringEventArgs
class
folderName
- specified folder for monitoring operationnewMessages
- Contains information about new messagesdeletedMessages
- Contains information about deleted messagespublic String getFolderName()
Gets specified folder for monitoring operation.
String
object.public Throwable getError()
Gets error of IMAP IDLE operation.
Exception
object.public ImapMessageInfo[] getNewMessages()
Gets new messages
ImapMessageInfo
objects.public ImapMessageInfo[] getDeletedMessages()
Gets deleted messages
ImapMessageInfo
objects.Copyright (c) 2008-2017 Aspose Pty Ltd. All Rights Reserved.