edu.mayo.bsi.ngsportal.client
Class HandleString
java.lang.Object
edu.mayo.bsi.ngsportal.client.HandleString
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.AsyncCallback<String>
public class HandleString
- extends Object
- implements com.google.gwt.user.client.rpc.AsyncCallback<String>
Class to handle getting a String from the server, and sending it to the client for processing
@author Gregory Dougherty
HandleString
public HandleString(String procName,
NGSPortal caller,
StringResult target)
- Make a callback object to handle an RPC call to a routine that returns a Boolean.
- Parameters:
procName - Name of the routine being called, so can correctly handle the responsecaller - The object to call when get a responsetarget - Object to call with the string if the string is non-null. Must not be null
onFailure
public void onFailure(Throwable caught)
- Specified by:
onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<String>
onSuccess
public void onSuccess(String result)
- Specified by:
onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback<String>