Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12162

Re: Access Modifiers in XMPPTCPConnection

$
0
0
personal modifications in the TLS setup

What are those modifications?

 

Since the android doesn't support some elliptic curves, I'm using the BouncyCastle to do the work. But this is not general. It's very specific for my project.

Can't you use a custom SSLContext to use BouncyCastle for TLS?

 

 

 

The notifyConnectionError I use in my custom PingFailedListener:

Why don't you just install a ping failed listener and shut down the connection when it's called?

If I shutdown the connection, the ReconnectionManager will not try to reconnect again (the done flag will be true).

I usually don't recommend using the ReconnectionManager on Android, as you will also need to add some further reconnection logic on a mobile device. But even if you want to use it, why not simply reconnect after the instantShutdown/disconnect in the ping failed listener?

Viewing all articles
Browse latest Browse all 12162

Trending Articles