org.xnap.plugin.limewire
Class LimeWireServant

java.lang.Object
  extended by org.xnap.peer.AbstractPeer
      extended by org.xnap.plugin.limewire.LimeWireServant
All Implemented Interfaces:
Peer

public class LimeWireServant
extends AbstractPeer

This class represents a gnutella servant.


Constructor Summary
LimeWireServant(java.lang.String host)
           
LimeWireServant(java.lang.String host, int port)
           
 
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.
 int getPort()
           
 java.lang.String getStatus()
          Returns the status of the peer.
 
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

LimeWireServant

public LimeWireServant(java.lang.String host,
                       int port)

LimeWireServant

public LimeWireServant(java.lang.String host)
Method Detail

getActions

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


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".


getLocalDownloadCount

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


getLocalUploadCount

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


getPort

public int getPort()

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".



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