1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 04:57:58 +01:00

Add hidden default constructor to ConnectionConfiguration

aSmack subclasses ConnectionConfiguration and needs a constructor that
does no network I/O.
This commit is contained in:
Florian Schmaus 2014-02-03 19:59:26 +01:00
parent 7eb57d3896
commit e7a2cad401

View file

@ -94,6 +94,13 @@ public class ConnectionConfiguration implements Cloneable {
// Holds the proxy information (such as proxyhost, proxyport, username, password etc)
protected ProxyInfo proxy;
/**
* Constructor used for subclassing ConnectionConfiguration
*/
ConnectionConfiguration() {
/* Does nothing */
}
/**
* Creates a new ConnectionConfiguration for the specified service name.
* A DNS SRV lookup will be performed to find out the actual host address