rero.dcc
Class DataDCC
java.lang.Object
rero.dcc.DataDCC
- public class DataDCC
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dccList
protected static List dccList
resumeData
protected static HashMap resumeData
connectionCache
protected HashMap connectionCache
DataDCC
public DataDCC()
addConnection
public void addConnection(String port,
GenericDCC dcc)
- used by the resume stuff
getConnections
public LinkedList getConnections(int type,
int state)
getConnections
public LinkedList getConnections(Collection dccCollection,
int type,
int state)
getAllConnections
public List getAllConnections()
getConnectionFromHash
public GenericDCC getConnectionFromHash(String hash)
getActiveConnections
public Iterator getActiveConnections()
getWaitingConnections
public Iterator getWaitingConnections()
getClosedConnections
public Iterator getClosedConnections()
getUserConnection
public GenericDCC getUserConnection(Collection dccCollection,
String nickname)
getConnection
public GenericDCC getConnection(String port)
getConnectionToAccept
public GenericDCC getConnectionToAccept(String nickname)
closeConnection
public void closeConnection(String nickname)
closeConnection
public void closeConnection(String nickname,
int type)
closeChat
public void closeChat(String nickname)
removeConnection
public void removeConnection(GenericDCC dcc)
getSpecificConnection
public ProtocolDCC getSpecificConnection(String nickname,
int type)