com.planet_ink.coffee_mud.core.intermud.cm1.commands
Class Monitor

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.intermud.cm1.commands.CM1Command
      extended by com.planet_ink.coffee_mud.core.intermud.cm1.commands.Listen
          extended by com.planet_ink.coffee_mud.core.intermud.cm1.commands.Monitor
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Runnable

public class Monitor
extends Listen


Nested Class Summary
 
Nested classes/interfaces inherited from class com.planet_ink.coffee_mud.core.intermud.cm1.commands.Listen
Listen.ListenCriterium, Listen.Listener, Listen.STATTYPE
 
Field Summary
 
Fields inherited from class com.planet_ink.coffee_mud.core.intermud.cm1.commands.Listen
listeners
 
Fields inherited from class com.planet_ink.coffee_mud.core.intermud.cm1.commands.CM1Command
className, parameters, req
 
Constructor Summary
Monitor(RequestHandler req, java.lang.String parameters)
           
 
Method Summary
 java.lang.String getCommandWord()
           
 void run()
           
protected  void sendMsg(Listen.Listener listener, java.lang.String msg)
           
 
Methods inherited from class com.planet_ink.coffee_mud.core.intermud.cm1.commands.Listen
getCriterium, getHelp, parameterCheck, passesSecurityCheck, securityCheck
 
Methods inherited from class com.planet_ink.coffee_mud.core.intermud.cm1.commands.CM1Command
getTarget, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Monitor

public Monitor(RequestHandler req,
               java.lang.String parameters)
Method Detail

getCommandWord

public java.lang.String getCommandWord()
Overrides:
getCommandWord in class Listen

sendMsg

protected void sendMsg(Listen.Listener listener,
                       java.lang.String msg)
                throws java.io.IOException
Overrides:
sendMsg in class Listen
Throws:
java.io.IOException

run

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