com.google.gwt.rpc.client.impl
Class ListCommandSink

java.lang.Object
  extended by com.google.gwt.rpc.client.ast.CommandSink
      extended by com.google.gwt.rpc.client.impl.ListCommandSink

public class ListCommandSink
extends CommandSink

A simple CommandSink that adds observed commands to a list.


Constructor Summary
ListCommandSink(java.util.List<RpcCommand> commands)
           
 
Method Summary
 void accept(RpcCommand command)
          Accept an RpcCommand for processing.
 void finish()
          Does nothing.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListCommandSink

public ListCommandSink(java.util.List<RpcCommand> commands)
Method Detail

accept

public void accept(RpcCommand command)
            throws SerializationException
Description copied from class: CommandSink
Accept an RpcCommand for processing.

Specified by:
accept in class CommandSink
Throws:
SerializationException

finish

public void finish()
            throws SerializationException
Does nothing.

Specified by:
finish in class CommandSink
Throws:
SerializationException