|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.jscape.inet.imap.ImapMessageProgressEvent
public class ImapMessageProgressEvent
Fired frequently during the progress of downloading a message from IMAP server.
Constructor Summary | |
---|---|
ImapMessageProgressEvent(java.lang.Object source,
int msg,
long bytes,
long totalBytes)
Creates ImapMessageProgressEvent. |
Method Summary | |
---|---|
long |
getBytes()
Gets number of bytes transferred for message so far. |
int |
getMessageIndex()
Gets the corresponding message index for this event |
long |
getTotalBytes()
Gets total message size in bytes |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImapMessageProgressEvent(java.lang.Object source, int msg, long bytes, long totalBytes)
source
- the source of the eventmsg
- the message index for this eventbytes
- the total number of bytes transferred so fartotalBytes
- the total size of message in bytesMethod Detail |
---|
public long getBytes()
public long getTotalBytes()
public int getMessageIndex()
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |