com.google.gwt.rpc.client.ast
Class CommandSink

java.lang.Object
  extended by com.google.gwt.rpc.client.ast.CommandSink
Direct Known Subclasses:
HasValuesCommandSink, ListCommandSink, SimplePayloadSink, WebModePayloadSink

public abstract class CommandSink
extends java.lang.Object

Accepts a stream of RpcCommands.


Constructor Summary
CommandSink()
           
 
Method Summary
abstract  void accept(RpcCommand command)
          Accept an RpcCommand for processing.
abstract  void finish()
          Called when no more commands will be sent.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandSink

public CommandSink()
Method Detail

accept

public abstract void accept(RpcCommand command)
                     throws SerializationException
Accept an RpcCommand for processing.

Parameters:
command -
Throws:
SerializationException

finish

public abstract void finish()
                     throws SerializationException
Called when no more commands will be sent.

Throws:
SerializationException