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

java.lang.Object
  extended by com.google.gwt.rpc.client.impl.ClientWriterFactory

public class ClientWriterFactory
extends java.lang.Object

Isolates client code from swapping out the command factory in hosted versus web mode. This type has a super-source peer which is used in web mode.


Constructor Summary
ClientWriterFactory()
           
 
Method Summary
static SerializationStreamReader createReader(java.lang.String payload)
           
static SerializationStreamWriter createWriter(TypeOverrides typeOverrides, CommandSink commandSink)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientWriterFactory

public ClientWriterFactory()
Method Detail

createReader

public static SerializationStreamReader createReader(java.lang.String payload)
                                              throws IncompatibleRemoteServiceException,
                                                     RemoteException
Throws:
IncompatibleRemoteServiceException
RemoteException

createWriter

public static SerializationStreamWriter createWriter(TypeOverrides typeOverrides,
                                                     CommandSink commandSink)