Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jaxrs-dev] SseBroadcaster.close()

Done. https://github.com/eclipse-ee4j/jaxrs-api/issues/597

On Wed, Mar 7, 2018 at 11:53 PM, Santiago Pericas-Geertsen <santiago.pericasgeertsen@xxxxxxxxxx> wrote:
Jim,

 Clearly that is not a use case that we had in mind at the time. Could you file an issue for it? [1]

 I suppose one way to address this use case could be to add a new close method,

 void close(boolean cascade)

 with cascading control.

— Santiago

[1] https://github.com/eclipse-ee4j/jaxrs-api/issues/


On Mar 7, 2018, at 12:10 AM, Jim Ma <ema@xxxxxxxxxx> wrote:

 Yes. Santiago. That's what I am asking. 
 
  Thanks,
 Jim

On Tue, Mar 6, 2018 at 11:19 PM, Santiago Pericas-Geertsen <santiago.pericasgeertsen@oracle.com> wrote:
Hi Jim,

 I’m not sure I follow your use case. Are you saying that you have a sink that is used via a broadcaster but also outside of it? Are you suggesting that there’s a need for close in broadcaster without a cascading effect?

— Santiago 

On Mar 5, 2018, at 10:32 PM, Jim Ma <ema@xxxxxxxxxx> wrote:

Hi,
In  current jaxrs spec, when close SseBroadcaster it requires close all registered SseEventSink instances[1]. 
If a SseEventSink is a broadcaster subscriber, and also acts as the target to send normal sse event. Will close
this SseEventSink be too much thing while close broadcaster ?  


Thanks,
Jim
_______________________________________________
jaxrs-dev mailing list
jaxrs-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jaxrs-dev


_______________________________________________
jaxrs-dev mailing list
jaxrs-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jaxrs-dev


_______________________________________________
jaxrs-dev mailing list
jaxrs-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jaxrs-dev


_______________________________________________
jaxrs-dev mailing list
jaxrs-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jaxrs-dev



Back to the top