Class NopCommand
- java.lang.Object
 - 
- org.apache.zookeeper.server.command.AbstractFourLetterCommand
 - 
- org.apache.zookeeper.server.command.NopCommand
 
 
 
- 
public class NopCommand extends AbstractFourLetterCommand
A command that does not do anything except reply to client with predefined message. It is used to inform clients who execute none white listed four letter word commands. 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.zookeeper.server.command.AbstractFourLetterCommand
factory, pw, serverCnxn, ZK_NOT_SERVING, zkServer 
 - 
 
- 
Constructor Summary
Constructors Constructor Description NopCommand(PrintWriter pw, ServerCnxn serverCnxn, String msg) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommandRun()- 
Methods inherited from class org.apache.zookeeper.server.command.AbstractFourLetterCommand
run, setFactory, setZkServer, start 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
NopCommand
public NopCommand(PrintWriter pw, ServerCnxn serverCnxn, String msg)
 
 - 
 
- 
Method Detail
- 
commandRun
public void commandRun()
- Specified by:
 commandRunin classAbstractFourLetterCommand
 
 - 
 
 -