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
1 changed files with 7 additions and 0 deletions

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