org.apache.directory.server.dns.service
Class MonitorRequest

java.lang.Object
  extended by org.apache.directory.server.protocol.shared.chain.impl.CommandBase
      extended by org.apache.directory.server.dns.service.MonitorMessage
          extended by org.apache.directory.server.dns.service.MonitorRequest
All Implemented Interfaces:
Command

public class MonitorRequest
extends MonitorMessage


Field Summary
 
Fields inherited from class org.apache.directory.server.protocol.shared.chain.impl.CommandBase
CONTINUE_CHAIN, STOP_CHAIN
 
Constructor Summary
MonitorRequest()
           
 
Method Summary
 boolean execute(Context context)
          Execute a unit of processing work to be performed.
 
Methods inherited from class org.apache.directory.server.dns.service.MonitorMessage
monitorMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorRequest

public MonitorRequest()
Method Detail

execute

public boolean execute(Context context)
                throws java.lang.Exception
Description copied from interface: Command

Execute a unit of processing work to be performed. This Command may either complete the required processing and return true, or delegate remaining processing to the next Command in a Chain containing this Command by returning false

Parameters:
context - The Context to be processed by this Command
Returns:
true if the processing of this Context has been completed, or false if the processing of this Context should be delegated to a subsequent Command in an enclosing Chain
Throws:
java.lang.Exception - general purpose exception return to indicate abnormal termination
java.lang.IllegalArgumentException - if context is null


Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.