powered by Jive Software

How to reuse Spark connection?

Is it possible for a Smack-based client to re-use the connection that a local install of the Spark client already has open?

I want to set up a small Windows-based utility program that sends messages on behalf of the user. The user will be already and separately logged in to Spark. Is there a way to just grab the connection info from the instance of Spark that’s already running? So that the user doesn’t have to provide his or her credentials to the extra program.

I don’t particularly want to do this as a plugin to Spark.

Is it possible for a Smack-based client to re-use the connection that a local install of the Spark client already has open?
That sounds like you want to re-use the connection in a different Java VM. That’s not possible.