Package com.google.gwt.logging.client
Class SimpleRemoteLogHandler.DefaultCallback
java.lang.Object
com.google.gwt.logging.client.SimpleRemoteLogHandler.DefaultCallback
- All Implemented Interfaces:
AsyncCallback<String>
- Enclosing class:
- SimpleRemoteLogHandler
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultCallback
DefaultCallback()
-
-
Method Details
-
onFailure
Description copied from interface:AsyncCallbackCalled when an asynchronous call fails to complete normally.IncompatibleRemoteServiceExceptions,InvocationExceptions, or checked exceptions thrown by the service method are examples of the type of failures that can be passed to this method.If
caughtis an instance of anIncompatibleRemoteServiceExceptionthe application should try to get into a state where a browser refresh can be safely done.- Specified by:
onFailurein interfaceAsyncCallback<String>- Parameters:
caught- failure encountered while executing a remote procedure call
-
onSuccess
Description copied from interface:AsyncCallbackCalled when an asynchronous call completes successfully.- Specified by:
onSuccessin interfaceAsyncCallback<String>- Parameters:
result- the return value of the remote produced call
-