public class ClientConfigImpl extends java.lang.Object implements ClientConfig
The implementation of ClientConfig enables advanced options by default. Options can be disabled at will.
Modifier and Type | Class and Description |
---|---|
static class |
ClientConfigImpl.SASLImpl
Type for storing SASL authentication data.
|
ClientConfig.SASL
Constructor and Description |
---|
ClientConfigImpl() |
Modifier and Type | Method and Description |
---|---|
java.net.Proxy |
getProxy()
Get the proxy to use connecting to IRC server.
|
ClientConfig.SASL |
getSASL()
Get the configured SASL authentication data.
|
boolean |
isChannelPresenceTaskEnabled()
Get current value of channel presence enable flag.
|
boolean |
isContactPresenceTaskEnabled()
Get current value of contact presence enable flag.
|
boolean |
isResolveByProxy()
Get resolve by proxy value.
|
boolean |
isVersion3Allowed()
Get version 3 allowed flag.
|
void |
setChannelPresenceTaskEnabled(boolean value)
Set new value for channel presence enable flag.
|
void |
setContactPresenceTaskEnabled(boolean value)
Set new value for contact presence enable flag.
|
void |
setProxy(java.net.Proxy proxy)
Set a new proxy instance.
|
void |
setResolveByProxy(boolean resolveByProxy)
Set resolve by proxy value.
|
void |
setSASL(ClientConfigImpl.SASLImpl sasl)
Set SASL authentication data.
|
void |
setVersion3Allowed(boolean allowed)
Set version 3 allowed.
|
public boolean isVersion3Allowed()
isVersion3Allowed
in interface ClientConfig
public void setVersion3Allowed(boolean allowed)
allowed
- version 3 allowedpublic boolean isContactPresenceTaskEnabled()
isContactPresenceTaskEnabled
in interface ClientConfig
public void setContactPresenceTaskEnabled(boolean value)
value
- new value for flagpublic boolean isChannelPresenceTaskEnabled()
isChannelPresenceTaskEnabled
in interface ClientConfig
public void setChannelPresenceTaskEnabled(boolean value)
value
- new value for flagpublic java.net.Proxy getProxy()
getProxy
in interface ClientConfig
public void setProxy(java.net.Proxy proxy)
proxy
- the new proxy instancepublic boolean isResolveByProxy()
isResolveByProxy
in interface ClientConfig
public void setResolveByProxy(boolean resolveByProxy)
public ClientConfig.SASL getSASL()
getSASL
in interface ClientConfig
public void setSASL(ClientConfigImpl.SASLImpl sasl)
sasl
- the SASL authentication data
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.