public class ImapMonitoringEventArgs
extends EventArgs
Class contains monitoring event data.
| Constructor and Description |
|---|
ImapMonitoringEventArgs(String folderName,
ImapMessageInfo[] newMessages,
ImapMessageInfo[] deletedMessages)
Initializes a new instance of the
ImapMonitoringEventArgs class |
| Modifier and Type | Method and Description |
|---|---|
ImapMessageInfo[] |
getDeletedMessages()
Gets deleted messages
|
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 final String getFolderName()
Gets specified folder for monitoring operation.
public final ImapMessageInfo[] getNewMessages()
Gets new messages
public final ImapMessageInfo[] getDeletedMessages()
Gets deleted messages
Copyright (c) 2008-2024 Aspose Pty Ltd. All Rights Reserved.