org.mmbase.module
Class IrcModule

java.lang.Object
  |
  +--org.mmbase.module.Module
        |
        +--org.mmbase.module.ProcessorModule
              |
              +--org.mmbase.module.IrcModule
All Implemented Interfaces:
CommunicationUserInterface, ProcessorInterface, java.lang.Runnable

public class IrcModule
extends ProcessorModule
implements CommunicationUserInterface, java.lang.Runnable


Constructor Summary
IrcModule()
           
 
Method Summary
 java.util.Vector getList(scanpage sp, StringTagger tagger, java.lang.String value)
          Generate a list of values from a command to the processor
 void init()
          Initializes the module.
 void onload()
           
 boolean process(scanpage sp, java.util.Hashtable cmds, java.util.Hashtable vars)
          Execute the commands provided in the form values
 void receive(java.lang.String msg)
           
 java.lang.String replace(scanpage sp, java.lang.String cmds)
          Replace a command by a string
 void run()
           
 void shutdown()
           
 void start()
           
 void stop()
           
 void unload()
           
 
Methods inherited from class org.mmbase.module.ProcessorModule
cacheCheck, getListBuilder, getNodeList, reload, replace
 
Methods inherited from class org.mmbase.module.Module
getClassName, getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, maintainance, setClassName, setInitParameter, setMaintainer, setName, setVersion, startModule, startModules, state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IrcModule

public IrcModule()
Method Detail

init

public void init()
Description copied from class: Module
Initializes the module. Init can be overridden to read the environment variables it needs.
This method is called by Module.startModule(), which makes sure it is not called more than once. You should not call init() directly, call startModule() instead.
Overrides:
init in class ProcessorModule

receive

public void receive(java.lang.String msg)
Specified by:
receive in interface CommunicationUserInterface

onload

public void onload()
Overrides:
onload in class ProcessorModule

unload

public void unload()
Overrides:
unload in class ProcessorModule

shutdown

public void shutdown()
Overrides:
shutdown in class ProcessorModule

getList

public java.util.Vector getList(scanpage sp,
                                StringTagger tagger,
                                java.lang.String value)
                         throws ParseException
Description copied from class: ProcessorModule
Generate a list of values from a command to the processor
Overrides:
getList in class ProcessorModule
Following copied from class: org.mmbase.module.ProcessorModule
Parameters:
sp - the page context
params - contains the attributes for the list
command - the list command to execute.

process

public boolean process(scanpage sp,
                       java.util.Hashtable cmds,
                       java.util.Hashtable vars)
Description copied from class: ProcessorModule
Execute the commands provided in the form values
Overrides:
process in class ProcessorModule

replace

public java.lang.String replace(scanpage sp,
                                java.lang.String cmds)
Description copied from class: ProcessorModule
Replace a command by a string
Overrides:
replace in class ProcessorModule

start

public void start()

stop

public void stop()

run

public void run()
Specified by:
run in interface java.lang.Runnable


MMBase 2001