nextapp.echo2.webcontainer.filetransfer
Class DownloadPeer

java.lang.Object
  extended by nextapp.echo2.webcontainer.filetransfer.DownloadPeer
All Implemented Interfaces:
java.io.Serializable, CommandSynchronizePeer

public class DownloadPeer
extends java.lang.Object
implements CommandSynchronizePeer, java.io.Serializable

A peer for Download commands.

See Also:
Serialized Form

Field Summary
static Service DOWNLOAD_SERVICE
          Service to provide supporting JavaScript library.
 
Constructor Summary
DownloadPeer()
           
 
Method Summary
 void render(RenderContext rc, Command command)
          Renders a directive to execute the command on the client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOWNLOAD_SERVICE

public static final Service DOWNLOAD_SERVICE
Service to provide supporting JavaScript library.

Constructor Detail

DownloadPeer

public DownloadPeer()
Method Detail

render

public void render(RenderContext rc,
                   Command command)
Description copied from interface: CommandSynchronizePeer
Renders a directive to execute the command on the client.

Specified by:
render in interface CommandSynchronizePeer
Parameters:
rc - the relevant RenderContext
command - the Command to execute
See Also:
CommandSynchronizePeer.render(RenderContext, Command)