google-code-export / rocket-gwt

Automatically exported from code.google.com/p/rocket-gwt
1 stars 1 forks source link

Wiki for Comet doesn't make sense #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since the new version 0.36, you don't have to create two service interfaces
to make the RPC thing work using the CometClient.

Instead, i see in the Wiki that you can now use this:

public ExampleCometClient extends CometClient{
        /**
         * @comet-payloadType example.client.CometPayload{
         */
        abstract protected Object createProxy();
};

But how can this work? The Client class itself should now be made abstract.
And if that's the case, how do I instantiate it? The wiki doesn't make sense.

Original issue reported on code.google.com by cheezys...@gmail.com on 10 Sep 2007 at 11:00

GoogleCodeExporter commented 9 years ago
YourNowAbstractCometClass client = GWT.create( 
YourNowAbstractCometClientClass.class );

I will fix the wiki.

Original comment by miroslav...@gmail.com on 11 Sep 2007 at 10:08