Skip to content

Instantly share code, notes, and snippets.

@deepaksinghvi
Created July 24, 2012 03:35
Show Gist options
  • Save deepaksinghvi/3167858 to your computer and use it in GitHub Desktop.
Save deepaksinghvi/3167858 to your computer and use it in GitHub Desktop.
MongoDBServiceAsync
package com.example.gwt.client;
import java.util.List;
import com.example.gwt.client.modal.User;
import com.google.gwt.user.client.rpc.AsyncCallback;
public interface MongoDBServiceAsync {
void getAllUsers(AsyncCallback<List<String>> callback);
void setUser(User user, AsyncCallback<Void> callback);
void isValidUser(User user, AsyncCallback<Boolean> callback);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment