powered by Jive Software

KeepAlive

I just downloaded Smack 1.3.0 and noticed that one of the new additions is the KeepAlive. I took a quick look at this and it appears that it is hardwired to “always-on”, fixed at “30 seconds” and sends a “space” in “PacketWriter”. Am I looking at this correctly?

Since Smack 1.2.1 did not have a keep-alive we had implemented a thread that managed this but all of the above were configurable. Will we run into any potential issues by just allowing the built-in Smack keep-alive to run in place of ours?

Thanks,

Steve

Steve,

Nobody has reported any problems yet, and it should work fine as far as we know. You’‘re right that we should probably make keep-alive a configurable setting, however. I’'ll file that as an imprrovement.

Regards,

Matt

The keep-alive interval is now configurable. The functionality will be in the next daily build.

Regards,

Matt