1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-29 15:32:06 +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) // Holds the proxy information (such as proxyhost, proxyport, username, password etc)
protected ProxyInfo proxy; protected ProxyInfo proxy;
/**
* Constructor used for subclassing ConnectionConfiguration
*/
ConnectionConfiguration() {
/* Does nothing */
}
/** /**
* Creates a new ConnectionConfiguration for the specified service name. * Creates a new ConnectionConfiguration for the specified service name.
* A DNS SRV lookup will be performed to find out the actual host address * A DNS SRV lookup will be performed to find out the actual host address