Merge pull request #9 from eugenp/master

update with origin
This commit is contained in:
Maiklins
2019-09-09 10:57:44 +02:00
committed by GitHub
parent db85c8f275
commit 621491f8db
20076 changed files with 1628788 additions and 0 deletions
@@ -0,0 +1,12 @@
package com.baeldung.shared;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
/**
* The client-side stub for the RPC service.
*/
@RemoteServiceRelativePath("greet")
public interface MessageService extends RemoteService {
String sendMessage(String message) throws IllegalArgumentException;
}
@@ -0,0 +1,10 @@
package com.baeldung.shared;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* The async counterpart of <code>MessageService</code>.
*/
public interface MessageServiceAsync {
void sendMessage(String input, AsyncCallback<String> callback) throws IllegalArgumentException;
}