ImapMonitoringEventArgs

Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs

public class ImapMonitoringEventArgs extends System.EventArgs

Class contains monitoring event data.

Constructors

Constructor 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

Fields

Field Description
Empty

Methods

Method Description
equals(Object arg0)
getClass()
getDeletedMessages() Gets deleted messages
getError() Gets error of IMAP IDLE operation.
getFolderName() Gets specified folder for monitoring operation.
getNewMessages() Gets new messages
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ImapMonitoringEventArgs(String folderName, ImapMessageInfo[] newMessages, ImapMessageInfo[] deletedMessages)

public ImapMonitoringEventArgs(String folderName, ImapMessageInfo[] newMessages, ImapMessageInfo[] deletedMessages)

Initializes a new instance of the ImapMonitoringEventArgs class

Parameters:

Parameter Type Description
folderName java.lang.String specified folder for monitoring operation
newMessages ImapMessageInfo[] Contains information about new messages
deletedMessages ImapMessageInfo[] Contains information about deleted messages

ImapMonitoringEventArgs(String folderName, Throwable error)

public ImapMonitoringEventArgs(String folderName, Throwable error)

Initializes a new instance of the ImapMonitoringEventArgs class

Parameters:

Parameter Type Description
folderName java.lang.String specified folder for monitoring operation
error java.lang.Throwable Error of IMAP IDLE operation

Empty

public static final System.EventArgs Empty

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

getDeletedMessages()

public final ImapMessageInfo[] getDeletedMessages()

Gets deleted messages

Returns: com.aspose.email.ImapMessageInfo[]

getError()

public final Throwable getError()

Gets error of IMAP IDLE operation.

Returns: java.lang.Throwable

getFolderName()

public final String getFolderName()

Gets specified folder for monitoring operation.

Returns: java.lang.String

getNewMessages()

public final ImapMessageInfo[] getNewMessages()

Gets new messages

Returns: com.aspose.email.ImapMessageInfo[]

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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