Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] async remote services again

okay, I did not know of java.lang.Void, so it should be this :-)

Am 27.11.2010 21:23, schrieb Martin Petzold:
Hi,

does it really work with every distribution provider (implemented in ECF 3.4)?

What is the generic type for a callback of a method with void return type?

helloAsyncService.helloAsync("slewis",new  IAsyncCallback<???>()  {
       public  void  onSuccess(String  result)  {
           // Do something with result
       }
       public  void  onFailure(Throwable  t)  {
           // Deal with network failure in appropriate manner
       }
   });

Thanks!

Martin
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev


--
Martin Petzold

Martinsfeld 14
D-50676 Köln
Deutschland

Telefon: +49 (0)221 / 2595961
Mobil: +49 (0)179 / 9220154

Blog: www.zetablog.de



Back to the top