ImapMonitoringEventArgs

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

public class ImapMonitoringEventArgs extends System.EventArgs

Class contains monitoring event data.

Constructors

ConstructorDescription
ImapMonitoringEventArgs(String folderName, ImapMessageInfo[] newMessages, ImapMessageInfo[] deletedMessages)Initializes a new instance of the ImapMonitoringEventArgs class

Fields

FieldDescription
Empty

Methods

MethodDescription
equals(Object arg0)
getClass()
getDeletedMessages()Gets deleted messages
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:

ParameterTypeDescription
folderNamejava.lang.Stringspecified folder for monitoring operation
newMessagesImapMessageInfo[]Contains information about new messages
deletedMessagesImapMessageInfo[]Contains information about deleted messages

Empty

public static final System.EventArgs Empty

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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[]

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int