com.planet_ink.coffee_mud.core.intermud.cm1.commands
Class Listen
java.lang.Object
com.planet_ink.coffee_mud.core.intermud.cm1.commands.CM1Command
com.planet_ink.coffee_mud.core.intermud.cm1.commands.Listen
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Runnable
- Direct Known Subclasses:
- Monitor
public class Listen
- extends CM1Command
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listeners
protected static SLinkedList<Listen.Listener> listeners
Listen
public Listen(RequestHandler req,
java.lang.String parameters)
getCommandWord
public java.lang.String getCommandWord()
- Specified by:
getCommandWord in class CM1Command
sendMsg
protected void sendMsg(Listen.Listener listener,
java.lang.String msg)
throws java.io.IOException
- Throws:
java.io.IOException
securityCheck
public boolean securityCheck(MOB user,
Listen.ListenCriterium crit)
parameterCheck
public boolean parameterCheck(MOB user,
Listen.ListenCriterium crit)
getCriterium
public java.util.List<Listen.ListenCriterium> getCriterium(java.lang.String rest)
throws java.io.IOException
- Throws:
java.io.IOException
run
public void run()
passesSecurityCheck
public boolean passesSecurityCheck(MOB user,
PhysicalAgent target)
- Specified by:
passesSecurityCheck in class CM1Command
getHelp
public java.lang.String getHelp(MOB user,
PhysicalAgent target,
java.lang.String rest)
- Specified by:
getHelp in class CM1Command