org.xnap.plugin.opennap.net
Class OpenNapNetwork
java.lang.Object
org.xnap.plugin.opennap.net.OpenNapNetwork
- Direct Known Subclasses:
- OpenNapDefaultNetwork
public class OpenNapNetwork
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OpenNapNetwork
public OpenNapNetwork(java.lang.String name)
getTotalConnecting
public static int getTotalConnecting()
- Returns the total number of networks that are currently connecting.
add
public void add(OpenNapServer s)
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
equals
public boolean equals(java.lang.Object obj)
- Returns true if
obj
has the same hostname and port.
- Overrides:
equals
in class java.lang.Object
getFileCount
public int getFileCount()
getFileSize
public int getFileSize()
getName
public java.lang.String getName()
getServers
public int getServers()
getStatus
public java.lang.String getStatus()
getUserCount
public int getUserCount()
isBusy
public boolean isBusy()
remove
public void remove(OpenNapServer s)
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
setConnected
public void setConnected(OpenNapServer s,
boolean isConnected)
setConnecting
public void setConnecting(OpenNapServer s,
boolean isConnecting)
setStats
public void setStats(OpenNapServer s,
int userCount,
int fileCount,
int fileSize)
setStatus
public void setStatus(java.lang.String status)
updateStatus
public void updateStatus()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2001-2005 XNap Team. All Rights Reserved.