com.googlecode.jpattern.gwt.client.command
Class SynchronousCommand

java.lang.Object
  extended by com.googlecode.jpattern.gwt.client.command.ACommand
      extended by com.googlecode.jpattern.gwt.client.command.SynchronousCommand

public abstract class SynchronousCommand
extends ACommand

Abstract class to implement a command which DOESN'T perform asynchronous calls. This class expect that the execute() method perform only synchronous operations; when the method execute() ends his execution a callback is automatically called to communicate that the command ends his execution.

Author:
Francesco Cina 06/lug/2011

Constructor Summary
SynchronousCommand()
           
 
Method Summary
protected  void exec(com.googlecode.jpattern.shared.result.IResult commandResult)
           
protected abstract  void execute(com.googlecode.jpattern.shared.result.IResult commandResult)
           
 
Methods inherited from class com.googlecode.jpattern.gwt.client.command.ACommand
callback, exec, getCommandCallBack, getProvider, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousCommand

public SynchronousCommand()
Method Detail

exec

protected void exec(com.googlecode.jpattern.shared.result.IResult commandResult)
Specified by:
exec in class ACommand

execute

protected abstract void execute(com.googlecode.jpattern.shared.result.IResult commandResult)


Copyright © 2011. All Rights Reserved.