irc.dcc
Interface DCCListener

All Known Implementing Classes:
IRCApplication

public interface DCCListener

DCCListener, provided to catch dcc events triggered by the CTCP filter.


Method Summary
 boolean DCCChatRequest(java.lang.String nick)
          A new DCCChat is requested.
 java.io.File DCCFileRequest(java.lang.String nick, java.lang.String fileName, java.lang.Integer size)
          A new DCC reception is requested.
 

Method Detail

DCCFileRequest

public java.io.File DCCFileRequest(java.lang.String nick,
                                   java.lang.String fileName,
                                   java.lang.Integer size)
A new DCC reception is requested.

Parameters:
nick - the source nick.
fileName - the file to transfert.
size - the file size.
Returns:
the local destination file.

DCCChatRequest

public boolean DCCChatRequest(java.lang.String nick)
A new DCCChat is requested.

Parameters:
nick - the requesting nick.
Returns:
true if the request is accepted, false otherwise.