org.xnap.plugin.gift.net.event
Class DownloadUpdatedEvent

java.lang.Object
  extended by org.xnap.plugin.gift.net.event.Event
      extended by org.xnap.plugin.gift.net.event.DownloadUpdatedEvent

public class DownloadUpdatedEvent
extends Event

DownloadUpdatedEvent

Version:
CVS $Id: DownloadUpdatedEvent.java,v 1.1 2003/10/05 00:20:32 squig Exp $
Author:
Tammo van Lessen

Constructor Summary
DownloadUpdatedEvent(GiFTDownloadContainer dc)
          Constructor for DownloadUpdatedEvent.
 
Method Summary
 GiFTDownloadContainer getDownloadContainer()
          Returns the GiFTDownloadContainer.
 long getElapsed()
          Returns the elapsed.
 java.lang.String getFilename()
          Returns the filename.
 java.lang.String getHash()
          Returns the hash.
 long getSize()
          Returns the size.
 java.lang.String getState()
          Returns the state.
 long getThroughput()
          Returns the throughput.
 long getTransmit()
          Returns the transmit.
 void setElapsed(long elapsed)
          Sets the elapsed.
 void setFilename(java.lang.String filename)
          Sets the filename.
 void setHash(java.lang.String hash)
          Sets the hash.
 void setSize(long size)
          Sets the size.
 void setState(java.lang.String state)
          Sets the state.
 void setThroughput(long throughput)
          Sets the throughput.
 void setTransmit(long transmit)
          Sets the transmit.
 
Methods inherited from class org.xnap.plugin.gift.net.event.Event
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DownloadUpdatedEvent

public DownloadUpdatedEvent(GiFTDownloadContainer dc)
Constructor for DownloadUpdatedEvent.

Parameters:
dc - DOCUMENT ME!
Method Detail

getDownloadContainer

public GiFTDownloadContainer getDownloadContainer()
Returns the GiFTDownloadContainer.

Returns:
GiFTDownloadContainer

setElapsed

public void setElapsed(long elapsed)
Sets the elapsed.

Parameters:
elapsed - The elapsed to set

getElapsed

public long getElapsed()
Returns the elapsed.

Returns:
long

setFilename

public void setFilename(java.lang.String filename)
Sets the filename.

Parameters:
filename - The filename to set

getFilename

public java.lang.String getFilename()
Returns the filename.

Returns:
String

setHash

public void setHash(java.lang.String hash)
Sets the hash.

Parameters:
hash - The hash to set

getHash

public java.lang.String getHash()
Returns the hash.

Returns:
String

setSize

public void setSize(long size)
Sets the size.

Parameters:
size - The size to set

getSize

public long getSize()
Returns the size.

Returns:
long

setState

public void setState(java.lang.String state)
Sets the state.

Parameters:
state - The state to set

getState

public java.lang.String getState()
Returns the state.

Returns:
int

setThroughput

public void setThroughput(long throughput)
Sets the throughput.

Parameters:
throughput - The throughput to set

getThroughput

public long getThroughput()
Returns the throughput.

Returns:
long

setTransmit

public void setTransmit(long transmit)
Sets the transmit.

Parameters:
transmit - The transmit to set

getTransmit

public long getTransmit()
Returns the transmit.

Returns:
long


Copyright © 2001-2005 XNap Team. All Rights Reserved.