[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ecf-dev] Replacing ConnectionConfiguration
|
Hi Karl,
Another thing I realized...if you are creating your own provider (e.g.
based upon XMPPContainer), you can get information on whether the
container is connected by calling:
IContainer.getConnectedID();
and checking to see if the resulting ID is null. That means the
container is not connected. Not sure if this is what you are trying to
do or not, but thought it might be useful given your comments.
Scott
On 11/26/2010 5:56 AM, Karl Beecher wrote:
Hi there,
Within my application, I am currently trying to replace Smack's
XMPPConnection with ECF's XMPPContainer, about which I have a question.
In one instance, we construct an XMPPConnection using the constructor:
XMPPConnection(ConnectionConfiguration config)
In making the config object we:
- set URI (host and port)
- pass a ProxyInfo object
- call setSecurityMode()
- call setReconnectionAllowed()
As far as I can see, an XMPPContainer doesn't accept a
ConnectionConfiguration and there is no equivalent in ECF to use.
Furthermore, I can't see alternative ways in an XMPPContainer to
configure the specific information I list above.
And so I was wondering if anyone had any advice on how to configure this
information within an XMPPContainer?
Many thanks
Karl Beecher
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev