irc.dcc
Class DCCWraper

java.lang.Object
  |
  +--irc.IRCObject
        |
        +--irc.dcc.DCCWraper

public class DCCWraper
extends IRCObject

The DCC Wraper.


Field Summary
 
Fields inherited from class irc.IRCObject
_ircConfiguration
 
Constructor Summary
DCCWraper(IRCConfiguration config)
          Create a new DCCWraper.
 
Method Summary
 DCCChat createDCCChat(java.lang.String myNick, java.lang.String remoteNick, DCCChatClosingListener lis)
          Create a new DCCChat.
 DCCFile createDCCFile(java.io.File f, java.lang.String remoteNick, DCCFileClosingListener lis)
          Create a new DCCFile.
 
Methods inherited from class irc.IRCObject
getColor, getIRCConfiguration, getText, getText, getText, getText, getTimeStamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DCCWraper

public DCCWraper(IRCConfiguration config)
Create a new DCCWraper.

Parameters:
config - the global irc configuration.
Method Detail

createDCCChat

public DCCChat createDCCChat(java.lang.String myNick,
                             java.lang.String remoteNick,
                             DCCChatClosingListener lis)
Create a new DCCChat.

Parameters:
myNick - the local nick.
remoteNick - the remote nick.
lis - the closing listener.
Returns:
a new DCCChat.

createDCCFile

public DCCFile createDCCFile(java.io.File f,
                             java.lang.String remoteNick,
                             DCCFileClosingListener lis)
Create a new DCCFile.

Parameters:
f - the associated local file.
remoteNick - the remote nick.
lis - the closing listener.
Returns:
a new DCCFile.