Can someone explain why it is telling me I've implemented the
Responder methods with an incompatible signature?

public function onResult(event:ResultEvent):void
public function onFault(event:FaultEvent):void

The signatures shown in the docs are

public function onResult(event:* = null):void
public function onFault(event:* = null):void

What am I missing here?

Thanks,
Ben


--- In [email protected], "der_kotty" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I was just wondering why the com.adobe.cairngorm.business.Responder
> interface has been changed since it has been released on Adobe Labs.
> In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
> parameters of the onFault and onResult handlers were typed events
> (ResultEvent and FaultEvent). 
> 
> Why have the parameters been changed to '*'? Where is the sense in
> that?  To my opinion this is not really best practice but maybe
> there's a really good reason for that? Does anyone know?
> 
> Cheers
> David
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to