BasicCTCPFilter (PJIRC project)
Algne fail: vana_veeb/pjirc/doc/javadoc/irc/BasicCTCPFilter.html.
========== START OF NAVBAR ==========
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
======== START OF CLASS DATA ========
irc
Class BasicCTCPFilter
java.lang.Object | +--irc.IRCObject | +--irc.BasicCTCPFilter
- All Implemented Interfaces:
- CTCPFilter, DCCChatClosingListener, DCCFileClosingListener
- public class BasicCTCPFilter
- extends IRCObject
- implements CTCPFilter, DCCChatClosingListener, DCCFileClosingListener
- extends IRCObject
Basic CTCPFilter, used in sources.
| Field Summary |
| Fields inherited from class irc.IRCObject |
_ircConfiguration |
| Constructor Summary | |
BasicCTCPFilter(IRCConfiguration config)
Create a new BasicCTCPFilter, using the given IRCConfiguration. |
|
| Method Summary | |
void |
action(Server s,
java.lang.String destination,
java.lang.String msg)
Send an action on the given destination. |
void |
addDCCListener(DCCListener lis)
Add a DCCListener. |
void |
chat(Server s,
java.lang.String nick)
Send a DCCChat request on the given nick. |
void |
chatClosing(DCCChat c)
The dcc chat is closing. |
void |
CTCPReply(java.lang.String nick,
Source source,
java.lang.String msg)
Notify this Filter the source has received a CTCP reply. |
void |
fileClosing(DCCFile c)
The given file transfert has been closed. |
void |
genericSend(Server s,
java.lang.String nick,
java.lang.String message)
Send a generic CTCP message to the given nick. |
void |
perform(java.lang.String nick,
Source source,
java.lang.String msg)
Notify this filter the given source has received a CTCP message that should be processed. |
void |
ping(Server s,
java.lang.String nick)
Send a PING request on the given nick. |
void |
removeDCCListener(DCCListener lis)
Remote a DCCListener. |
void |
sendFile(Server s,
java.lang.String nick,
java.lang.String fname)
Send a DCC file send request on the given nick. |
| 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 |
BasicCTCPFilter
public BasicCTCPFilter(IRCConfiguration config)
- Create a new BasicCTCPFilter, using the given IRCConfiguration.
- Parameters:
config- IRCConfiguration to use.
| Method Detail |
addDCCListener
public void addDCCListener(DCCListener lis)
- Add a DCCListener.
- Parameters:
lis- listener to add.
removeDCCListener
public void removeDCCListener(DCCListener lis)
- Remote a DCCListener.
- Parameters:
lis- listener to remove.
chatClosing
public void chatClosing(DCCChat c)
- Description copied from interface:
DCCChatClosingListener - The dcc chat is closing.
- Specified by:
chatClosingin interfaceDCCChatClosingListener
- Parameters:
c- the dcc chat.
fileClosing
public void fileClosing(DCCFile c)
- Description copied from interface:
DCCFileClosingListener - The given file transfert has been closed.
- Specified by:
fileClosingin interfaceDCCFileClosingListener
- Parameters:
c- the closed file transfert.
action
public void action(Server s, java.lang.String destination, java.lang.String msg)
- Description copied from interface:
CTCPFilter - Send an action on the given destination.
- Specified by:
actionin interfaceCTCPFilter
- Parameters:
s- the server where to send the action.destination- the destination, channel name or nick name.msg- the message to send.
ping
public void ping(Server s, java.lang.String nick)
- Description copied from interface:
CTCPFilter - Send a PING request on the given nick.
- Specified by:
pingin interfaceCTCPFilter
- Parameters:
s- the server.nick- the nick.
chat
public void chat(Server s, java.lang.String nick)
- Description copied from interface:
CTCPFilter - Send a DCCChat request on the given nick.
- Specified by:
chatin interfaceCTCPFilter
- Parameters:
s- the server.nick- the nick.
sendFile
public void sendFile(Server s, java.lang.String nick, java.lang.String fname)
- Description copied from interface:
CTCPFilter - Send a DCC file send request on the given nick.
- Specified by:
sendFilein interfaceCTCPFilter
- Parameters:
s- the server.nick- the nick.fname- the file to send.
genericSend
public void genericSend(Server s, java.lang.String nick, java.lang.String message)
- Description copied from interface:
CTCPFilter - Send a generic CTCP message to the given nick.
- Specified by:
genericSendin interfaceCTCPFilter
- Parameters:
s- the server.nick- the nick.message- the message to send.
perform
public void perform(java.lang.String nick,
Source source,
java.lang.String msg)
- Description copied from interface:
CTCPFilter - Notify this filter the given source has received a CTCP message that should
be processed.
- Specified by:
performin interfaceCTCPFilter
- Parameters:
nick- the sender nickname.source- the source.msg- the message to be processed.
CTCPReply
public void CTCPReply(java.lang.String nick,
Source source,
java.lang.String msg)
- Description copied from interface:
CTCPFilter - Notify this Filter the source has received a CTCP reply.
- Specified by:
CTCPReplyin interfaceCTCPFilter
- Parameters:
nick- the replier nick.source- the source.msg- the reply message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
