Peter, Folks,

Remembering that ApplicationListener extends BlockListener, we have a 
choice for coding the coding implementation of this.

Choice:

1) Change the element "block-listener" to "listener" or 
"block-app-listener". Differentiate when at other places in the code 
with instanceof for application listener specific calls.

2) As (1) but with a merged "block-listener" and "application-listener" 
into one set in Assembler.java

3) Duplicate all block-listener logic for application-listeners.

4) Similar to (3), but at a early stage the app listeners are also 
merged into the blocklisteners set for block message processing.

I prefer (1) as instanceof is neat solution to the difference between 
these related listeners.  I think that the number of users of 
"block-listener" is a count on one hand scenario and easy to manage in 
respect of change.   Waht is the thoughts of those that have an interest?

Regards,

- Paul


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to