Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.litesoft.sandbox.csapp.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("CSappService")
public interface CSappService extends RemoteService
{
    String getMessage( String msg );

    /**
     * Utility/Convenience class.
     * Use CSappService.App.getInstance() to access static instance of CSappServiceAsync
     */
    public static class App
    {
        private static CSappServiceAsync ourInstance = GWT.create( CSappService.class );

        public static synchronized CSappServiceAsync getInstance()
        {
            return ourInstance;
        }
    }
}

Commits for litesoft/trunk/GWT_Sandbox/CS_IDEA/src/org/litesoft/sandbox/csapp/client/CSappService.java

Diff revisions: vs.
Revision Author Commited Message
338 GeorgeS picture GeorgeS Sun 31 Jul, 2011 20:41:14 +0000