On 01/29/2011 07:51 PM, seanparsons [via Databinder] wrote:
> I'm using the UserStream.open(...) approach shown in the Twine example
> project, but I can't immediately see any way of stopping the streaming.
> Is there a way to stop it or will it just continue to process forever
> until the VM is stopped?
Or the thread it is running in. The current interface is blocking, so it
needs to be in its own thread for any real application. I am not sure
how cleanly the client will close the connection if you kill the thread,
perhaps you'll let the list know if you get that far with it.
I'm on the nio branch right now sorting through similar issues (still a
long way from a stable release of that) so any feedback on this stuff is