- Common ways to obtain ConnectionConfiguration
private void myMethod () {ConnectionConfiguration c =
String host;String serviceName;new ConnectionConfiguration(host, port, serviceName)
String host;new ConnectionConfiguration(host, port)
String serviceName;new ConnectionConfiguration(serviceName)
- Smart code suggestions by Codota
}
/** * Returns the name of the service provided by the XMPP server for this connection. * This is also called XMPP domain of the connected server. After * authenticating with the server the returned value may be different. * * @return the name of the service provided by the XMPP server. */ public String getServiceName() { return config.getServiceName(); }
/** * Returns the name of the service provided by the XMPP server for this connection. * This is also called XMPP domain of the connected server. After * authenticating with the server the returned value may be different. * * @return the name of the service provided by the XMPP server. */ public String getServiceName() { return config.getServiceName(); }
/** * Returns the name of the service provided by the XMPP server for this connection. * This is also called XMPP domain of the connected server. After * authenticating with the server the returned value may be different. * * @return the name of the service provided by the XMPP server. */ public String getServiceName() { return config.getServiceName(); }
ioe); this.serviceName = config.getServiceName(); try {