|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectScpEvent
com.jscape.inet.scp.events.ScpTransferProgressEvent
public final class ScpTransferProgressEvent
Scp transfer progress event.
Field Summary | |
---|---|
static int |
DOWNLOAD
Indicates DOWNLOAD process |
static int |
UPLOAD
Indicates UPLOAD process |
Constructor Summary | |
---|---|
ScpTransferProgressEvent(Scp source,
java.lang.String filename,
long transferred,
long size,
int mode)
Creates a new event instance. |
Method Summary | |
---|---|
void |
accept(ScpEventListener listener)
|
java.lang.String |
getFilename()
Returns file name. |
int |
getMode()
Returns transfer mode. |
long |
getSize()
Returns file size in bytes. |
long |
getTransferredBytes()
Returns transferred bytes count. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UPLOAD
public static final int DOWNLOAD
Constructor Detail |
---|
public ScpTransferProgressEvent(Scp source, java.lang.String filename, long transferred, long size, int mode)
source
- sourcefilename
- filenametransferred
- transferred bytes countsize
- total size in bytesmode
- transfer modeMethod Detail |
---|
public java.lang.String getFilename()
public long getTransferredBytes()
public long getSize()
public int getMode()
public void accept(ScpEventListener listener)
ScpEvent#accept(ScpEventListener)
|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |