|
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.pop.PopMessageProgressEvent
public class PopMessageProgressEvent
Fired frequently during the progress of downloading a message from POP server.
Constructor Summary | |
---|---|
PopMessageProgressEvent(java.lang.Object source,
int msg,
long bytes,
long totalBytes)
Creates PopMessageProgressEvent. |
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 PopMessageProgressEvent(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 |