public abstract class

AsyncProxyBase

extends Object
implements AsyncProxy<T>
java.lang.Object
   ↳ com.google.gwt.user.client.impl.AsyncProxyBase<T>

Class Overview

The base implementation for AsyncProxy instances.

Summary

Nested Classes
interface AsyncProxyBase.ParamCommand<T> Simple parameterized command type. 
Public Constructors
AsyncProxyBase()
Public Methods
void enableLoadForTest0()
Testing method to enable enqueue0 from firing the runAsync call.
final T getProxiedInstance()
Returns the underlying proxied object if it has been instantiated or null.
abstract void setProxyCallback(ProxyCallback<T> callback)
To be implemented by the subtype.
void suppressLoadForTest0()
Testing method to prevent enqueue0 from actually firing the runAsync call.
Protected Methods
abstract void doAsync0()
To be implemented by the subtype to give the code-splitter a new starting point.
final void doFailure0(Throwable t)
Called by the generated subtype if the runAsync invocation fails.
final void enqueue0(ParamCommand<T> cmd)
Called by the generated subtype to enqueue an action for later replay.
abstract ProxyCallback<T> getCallback0()
The callback is maintained by the generated subtype to take advantage of type-tightening.
final void setInstance0(T instance)
Called by the generated subtype with the new instance of the object.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.user.client.AsyncProxy

Public Constructors

public AsyncProxyBase ()

Public Methods

public void enableLoadForTest0 ()

Testing method to enable enqueue0 from firing the runAsync call.

public final T getProxiedInstance ()

Returns the underlying proxied object if it has been instantiated or null.

public abstract void setProxyCallback (ProxyCallback<T> callback)

To be implemented by the subtype.

public void suppressLoadForTest0 ()

Testing method to prevent enqueue0 from actually firing the runAsync call.

Protected Methods

protected abstract void doAsync0 ()

To be implemented by the subtype to give the code-splitter a new starting point.

protected final void doFailure0 (Throwable t)

Called by the generated subtype if the runAsync invocation fails.

protected final void enqueue0 (ParamCommand<T> cmd)

Called by the generated subtype to enqueue an action for later replay.

protected abstract ProxyCallback<T> getCallback0 ()

The callback is maintained by the generated subtype to take advantage of type-tightening.

protected final void setInstance0 (T instance)

Called by the generated subtype with the new instance of the object.