BaseChannel modification request.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

BaseChannel modification request.

Andrew-106
Crew,

I was wondering if it's possible to modify BaseChannel in the
following manner:

(i) the notifyObservers() method in connect(Socket socket) should take
    as an argument "this", ie the current channel instance; and
    similarly,
(ii) the notifyObservers() method in disconnect() should take as an
    argument "this", ie the current channel instance.

Why do you ask?

Because of two reasons:

(i) this allows me to create a ChannelObserver singleton that gets
    notified by notifyObservers(), which can use the channel's name
    (or some other useful key) to lookup my "link" (in my "link"
    table). [A "link" represents a logical link, over which successful
    sign-on's have occurred, allowing financial transactions to pass.]
(ii) notifyObservers() is called in send() and receive() using ISOMsg
    as the argument; presumably to perform per message processing on
    the channel.

Wadaya reckon?

Cheers,
Andrew.






------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hjmb7b5/M=362335.6886445.7839731.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122882332/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~->

 
Yahoo! Groups Links

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

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

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


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: BaseChannel modification request.

Andrew-106
Mea cupla. Please ignore my request. The Observable class already
does this for me.

Andrew.

--- In [hidden email], "arothwel" <arothwel@y...> wrote:

> Crew,
>
> I was wondering if it's possible to modify BaseChannel in the
> following manner:
>
> (i) the notifyObservers() method in connect(Socket socket) should take
>     as an argument "this", ie the current channel instance; and
>     similarly,
> (ii) the notifyObservers() method in disconnect() should take as an
>     argument "this", ie the current channel instance.
>
> Why do you ask?
>
> Because of two reasons:
>
> (i) this allows me to create a ChannelObserver singleton that gets
>     notified by notifyObservers(), which can use the channel's name
>     (or some other useful key) to lookup my "link" (in my "link"
>     table). [A "link" represents a logical link, over which successful
>     sign-on's have occurred, allowing financial transactions to pass.]
> (ii) notifyObservers() is called in send() and receive() using ISOMsg
>     as the argument; presumably to perform per message processing on
>     the channel.
>
> Wadaya reckon?
>
> Cheers,
> Andrew.





------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hvnoc3g/M=362335.6886445.7839731.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122888314/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~->

 
Yahoo! Groups Links

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

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

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


Loading...