See on Tõrva Gümnaasiumi vana veebilehe arhiiv. Uus veebileht: https://torva.edu.ee/

ChannelInterpretor (PJIRC project)

Lisamaterjalide loend

Algne fail: vana_veeb/pjirc/doc/javadoc/irc/ChannelInterpretor.html.

========== START OF NAVBAR ==========
=========== END OF NAVBAR ===========
======== START OF CLASS DATA ========

irc
Class ChannelInterpretor

java.lang.Object
  |
  +--irc.IRCObject
        |
        +--irc.BasicInterpretor
              |
              +--irc.IRCInterpretor
                    |
                    +--irc.ChannelInterpretor
All Implemented Interfaces:
Interpretor

public class ChannelInterpretor
extends IRCInterpretor

Channel interpretor.


Field Summary
 
Fields inherited from class irc.BasicInterpretor
_filter, _parser
 
Fields inherited from class irc.IRCObject
_ircConfiguration
 
Constructor Summary
ChannelInterpretor(IRCConfiguration config, CTCPFilter filter)
          Create a new ChannelInterpretor.
 
Method Summary
protected  void handleCommand(Source source, java.lang.String cmd, java.lang.String[] parts, java.lang.String[] cumul)
          Handle the received command.
 
Methods inherited from class irc.BasicInterpretor
say, sendString, test
 
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

ChannelInterpretor

public ChannelInterpretor(IRCConfiguration config,
                          CTCPFilter filter)
Create a new ChannelInterpretor.

Parameters:
config - global configuration.
filter - ctcp filter to use.

Method Detail

handleCommand

protected void handleCommand(Source source,
                             java.lang.String cmd,
                             java.lang.String[] parts,
                             java.lang.String[] cumul)
Description copied from class: BasicInterpretor
Handle the received command.

Overrides:
handleCommand in class IRCInterpretor
Parameters:
source - the source that emitted the command.
cmd - the hole command line.
parts - the parsed command line.
cumul - the cumul parsed command line.