nextapp.echo2.webcontainer
Interface CommandSynchronizePeer

All Known Implementing Classes:
BrowserCommandPeer, DownloadPeer

public interface CommandSynchronizePeer

A stateless peer object used to render the given type of nextapp.echo2.app.Command to the client.

A single instance of a given CommandSynchronizePeer will be created to synchronize the state of ALL instances of a particular class of Command. Thus, it is not possible to store information about a command's state in this object.


Method Summary
 void render(RenderContext rc, Command command)
          Renders a directive to execute the command on the client.
 

Method Detail

render

void render(RenderContext rc,
            Command command)
Renders a directive to execute the command on the client.

Parameters:
rc - the relevant RenderContext
command - the Command to execute