ncsa.tools.trebuchet.listeners
Class TransferCompletedListener

java.lang.Object
  extended byncsa.tools.trebuchet.listeners.ProgressListener
      extended byncsa.tools.trebuchet.listeners.TransferCompletedListener
All Implemented Interfaces:
ICacheAccessor, IOperationListener, IUpdateOperationListener

public final class TransferCompletedListener
extends ProgressListener
implements ICacheAccessor


Field Summary
static java.lang.String TAG_SELF
           
 
Constructor Summary
TransferCompletedListener()
           
 
Method Summary
 void cacheEntryUpdated(java.lang.String operationId, long entryId)
           
 void cacheUpdated(java.lang.String operationId, long lastEntryId)
           
 void close()
           
 void operationFinished(java.lang.String operationId)
           
 void operationStarted(java.lang.String operationId)
           
 void scanningDirectory(java.lang.String operationId, long id)
           
 void setBulk(boolean bulk)
           
 void setCache(OperationCache cache)
           
 void setEndpointScheme(java.lang.String endpointScheme)
           
 void setMetadataUpdateOnly(boolean metadataUpdateOnly)
           
 void setUseSrc(boolean useSrc)
           
 
Methods inherited from class ncsa.tools.trebuchet.listeners.ProgressListener
isEventSupportMode, isLog4JMode, isStdOutMode, setEventSupport, setEventSupportMode, setKey, setLog4JMode, setStdOutMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_SELF

public static final java.lang.String TAG_SELF
See Also:
Constant Field Values
Constructor Detail

TransferCompletedListener

public TransferCompletedListener()
Method Detail

cacheEntryUpdated

public void cacheEntryUpdated(java.lang.String operationId,
                              long entryId)
Specified by:
cacheEntryUpdated in interface IUpdateOperationListener

operationFinished

public void operationFinished(java.lang.String operationId)
Specified by:
operationFinished in interface IOperationListener

close

public void close()
           throws java.io.IOException
Specified by:
close in class ProgressListener
Throws:
java.io.IOException

cacheUpdated

public void cacheUpdated(java.lang.String operationId,
                         long lastEntryId)
Specified by:
cacheUpdated in interface IOperationListener

operationStarted

public void operationStarted(java.lang.String operationId)
Specified by:
operationStarted in interface IOperationListener

scanningDirectory

public void scanningDirectory(java.lang.String operationId,
                              long id)
Specified by:
scanningDirectory in interface IOperationListener

setCache

public void setCache(OperationCache cache)
Specified by:
setCache in interface ICacheAccessor

setBulk

public void setBulk(boolean bulk)

setMetadataUpdateOnly

public void setMetadataUpdateOnly(boolean metadataUpdateOnly)

setEndpointScheme

public void setEndpointScheme(java.lang.String endpointScheme)

setUseSrc

public void setUseSrc(boolean useSrc)