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

java.lang.Object
  extended by com.google.gwt.user.client.rpc.impl.RemoteServiceProxy
      extended by com.google.gwt.rpc.client.impl.RpcServiceProxy
All Implemented Interfaces:
SerializationStreamFactory, ServiceDefTarget

public class RpcServiceProxy
extends RemoteServiceProxy

The base type for RPC proxies.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.rpc.ServiceDefTarget
ServiceDefTarget.NoServiceEntryPointSpecifiedException
 
Method Summary
 SerializationStreamReader createStreamReader(java.lang.String encoded)
          Returns a SerializationStreamReader that is ready for reading.
 SerializationStreamWriter createStreamWriter()
          Returns a SerializationStreamWriter that has had ClientSerializationStreamWriter.prepareToWrite() called on it and it has already had had the name of the remote service interface written as well.
 
Methods inherited from class com.google.gwt.user.client.rpc.impl.RemoteServiceProxy
bytesStat, getSerializationPolicyName, getServiceEntryPoint, isStatsAvailable, setRpcRequestBuilder, setServiceEntryPoint, stats, timeStat
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createStreamReader

public SerializationStreamReader createStreamReader(java.lang.String encoded)
                                             throws SerializationException,
                                                    RemoteException
Description copied from class: RemoteServiceProxy
Returns a SerializationStreamReader that is ready for reading.

Specified by:
createStreamReader in interface SerializationStreamFactory
Overrides:
createStreamReader in class RemoteServiceProxy
Parameters:
encoded - string that encodes the response of an RPC request
Returns:
SerializationStreamReader that is ready for reading
Throws:
SerializationException - if the encoded string is not a valid serialization stream
RemoteException

createStreamWriter

public SerializationStreamWriter createStreamWriter()
Description copied from class: RemoteServiceProxy
Returns a SerializationStreamWriter that has had ClientSerializationStreamWriter.prepareToWrite() called on it and it has already had had the name of the remote service interface written as well.

Specified by:
createStreamWriter in interface SerializationStreamFactory
Overrides:
createStreamWriter in class RemoteServiceProxy
Returns:
SerializationStreamWriter that has had ClientSerializationStreamWriter.prepareToWrite() called on it and it has already had had the name of the remote service interface written as well