public class TransferListener
extends com.ibm.aspera.faspmanager2.ITransferListener
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Modifier | Constructor and Description |
---|---|
protected |
TransferListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
Releasing all resources created by
TransferListener before it
is being garbage collected. |
protected void |
fireProgressEvent(String xferid,
long bytesTransferred) |
static int |
getAscpCount()
return the current ascp count
|
static TransferListener |
getInstance(String xferId,
AsperaTransaction transaction)
Returns TransferListener instance and associates an AsperaTransaction with a Transfer ID.
|
String |
getStatus(String xferId) |
void |
removeAllTransactionSessions(String xferId)
Removes all sessions for their specified transaction
|
void |
removeTransaction(String xferid) |
void |
setStatus(String xferId,
String sessionId,
String status,
long bytes) |
void |
shutdownThreadPools()
Shutdown without interrupting the threads involved
|
void |
transferReporter(String xferId,
String msg) |
public static TransferListener getInstance(String xferId, AsperaTransaction transaction)
xferId
- transaction
- public void transferReporter(String xferId, String msg)
transferReporter
in class com.ibm.aspera.faspmanager2.ITransferListener
xferId
- msg
- Set the status for the xferidpublic static int getAscpCount()
protected void fireProgressEvent(String xferid, long bytesTransferred)
public void removeTransaction(String xferid)
public void removeAllTransactionSessions(String xferId)
xferId
- sessionId
- public void shutdownThreadPools()
protected void finalize()
TransferListener
before it
is being garbage collected.finalize
in class com.ibm.aspera.faspmanager2.ITransferListener
Copyright © 2024. All rights reserved.