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

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

public class StatsEvent
extends Event

StatsEvent Wrapps giFT-protocol statistics

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

Constructor Summary
StatsEvent(java.lang.String protocol)
          Constructor for StatsEvent.
 
Method Summary
 long getFiles()
          Returns the files.
 java.lang.String getProtocol()
          Returns the protocol.
 float getSize()
          Returns the size.
 long getUsers()
          Returns the users.
 void setFiles(long files)
          Sets the files.
 void setSize(float size)
          Sets the size.
 void setUsers(long users)
          Sets the users.
 
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

StatsEvent

public StatsEvent(java.lang.String protocol)
Constructor for StatsEvent.

Parameters:
protocol -
Method Detail

setFiles

public void setFiles(long files)
Sets the files.

Parameters:
files - The files to set

getFiles

public long getFiles()
Returns the files.

Returns:
long

getProtocol

public java.lang.String getProtocol()
Returns the protocol.

Returns:
String

setSize

public void setSize(float size)
Sets the size.

Parameters:
size - The size to set

getSize

public float getSize()
Returns the size.

Returns:
long

setUsers

public void setUsers(long users)
Sets the users.

Parameters:
users - The users to set

getUsers

public long getUsers()
Returns the users.

Returns:
long


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