org.xnap.plugin.gift.net
Class GiFTUser

java.lang.Object
  extended by org.xnap.peer.AbstractPeer
      extended by org.xnap.plugin.gift.net.GiFTUser
All Implemented Interfaces:
Peer

public class GiFTUser
extends AbstractPeer

GiFTUser

Version:
CVS $Id: GiFTUser.java,v 1.4 2004/07/20 18:02:28 leist Exp $
Author:
Tammo van Lessen

Constructor Summary
GiFTUser(java.lang.String user)
          Constructor for GiFTUser.
 
Method Summary
 javax.swing.Action[] getActions()
          Returns the actions that can performed by the peer.
 java.lang.String getHost()
          Returns the ip address or hostname of this peer.
 int getLocalDownloadCount()
          Returns the number of currently running downloads from this peer.
 int getLocalUploadCount()
          Returns the number of currently running uploads to this peer.
 java.lang.String getStatus()
          Returns the status of the peer.
 java.lang.String getUsername()
           
 
Methods inherited from class org.xnap.peer.AbstractPeer
getClientInfo, getFileCount, getLinkSpeed, getName, setClientInfo, setFileCount, setLinkSpeed, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GiFTUser

public GiFTUser(java.lang.String user)
Constructor for GiFTUser.

Parameters:
user - DOCUMENT ME!
Method Detail

getActions

public javax.swing.Action[] getActions()
Description copied from interface: Peer
Returns the actions that can performed by the peer.

See Also:
xnap.peer.Peer#getActions()

getHost

public java.lang.String getHost()
Description copied from interface: Peer
Returns the ip address or hostname of this peer. The host can include the port separated by a colon like this: "localhost:6699".

See Also:
xnap.peer.Peer#getHost()

getLocalDownloadCount

public int getLocalDownloadCount()
Description copied from interface: Peer
Returns the number of currently running downloads from this peer.

See Also:
xnap.peer.Peer#getLocalDownloadCount()

getLocalUploadCount

public int getLocalUploadCount()
Description copied from interface: Peer
Returns the number of currently running uploads to this peer.

See Also:
xnap.peer.Peer#getLocalUploadCount()

getStatus

public java.lang.String getStatus()
Description copied from interface: Peer
Returns the status of the peer. This could be something like "online" or "away".

See Also:
xnap.peer.Peer#getStatus()

getUsername

public java.lang.String getUsername()
Returns:
the username


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