mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +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:
parent
7eb57d3896
commit
e7a2cad401
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue