public class PopMessageProgressEvent
extends java.util.EventObject
Constructor and Description |
---|
PopMessageProgressEvent(java.lang.Object source,
int msg,
long bytes,
long totalBytes)
Creates PopMessageProgressEvent.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 bytespublic long getBytes()
public long getTotalBytes()
public int getMessageIndex()
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved