net.customware.gwt.dispatch.client.secure
Class SecureDispatchAsync

java.lang.Object
  extended by net.customware.gwt.dispatch.client.AbstractDispatchAsync
      extended by net.customware.gwt.dispatch.client.secure.SecureDispatchAsync
All Implemented Interfaces:
DispatchAsync

public class SecureDispatchAsync
extends AbstractDispatchAsync

This class is the default implementation of DispatchAsync, which is essentially the client-side access to the Dispatch class on the server-side.

Author:
David Peterson

Constructor Summary
SecureDispatchAsync(ExceptionHandler exceptionHandler, SecureSessionAccessor secureSessionAccessor)
           
 
Method Summary
<A extends Action<R>,R extends Result>
void
execute(A action, com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
           
protected
<A extends Action<R>,R extends Result>
void
onFailure(A action, Throwable caught, com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
           
 
Methods inherited from class net.customware.gwt.dispatch.client.AbstractDispatchAsync
onSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureDispatchAsync

public SecureDispatchAsync(ExceptionHandler exceptionHandler,
                           SecureSessionAccessor secureSessionAccessor)
Method Detail

execute

public <A extends Action<R>,R extends Result> void execute(A action,
                                                           com.google.gwt.user.client.rpc.AsyncCallback<R> callback)

onFailure

protected <A extends Action<R>,R extends Result> void onFailure(A action,
                                                                Throwable caught,
                                                                com.google.gwt.user.client.rpc.AsyncCallback<R> callback)
Overrides:
onFailure in class AbstractDispatchAsync


Copyright © 2011 customware.net. All Rights Reserved.