Hi,

Quick "best design / practice" question for all you experts out there.

When I login to the channelSet, I want to pass a generic, resultHandler(and 
fault) function such as LoginSucessFunction that I can pass to the 
AsyncResponder, as opposed to writing this function many times in various places

As far as I can see there are two ways to go about doing this:
1.  I can try to extend Function.  But after some google searches, I haven't 
seen anyone do this.
2.  Workaround - create a class like LoginSuccessFunctionWrapper which is just 
a class wrapper around my function

Anyone have any input on the best way to go about this?  Anyone have a better 
way to handle their login success and faults, writing the function just once?

Cheers



Reply via email to