org.lastbamboo.common.sip.client
Class SipClientConfig

java.lang.Object
  extended by org.lastbamboo.common.sip.client.SipClientConfig

public class SipClientConfig
extends Object

Simple class for storing configuration. We cheat here and make this all static to avoid the overhead of integrating dependency injection that could collide with versions of libraries programs including this library are using.


Method Summary
static boolean isUseDnsSec()
          Whether or not we're configured to use DNSSEC for lookups.
static void setUseDnsSec(boolean useDnsSec)
          Sets whether or not to use DNSSEC to request signed records when performing DNS lookups and verifying those records if they exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setUseDnsSec

public static void setUseDnsSec(boolean useDnsSec)
Sets whether or not to use DNSSEC to request signed records when performing DNS lookups and verifying those records if they exist.

Parameters:
useDnsSec - Whether or not to use DNSSEC.

isUseDnsSec

public static boolean isUseDnsSec()
Whether or not we're configured to use DNSSEC for lookups.

Returns:
true if configured to use DNSSEC, otherwise false.


Copyright © 2013 LittleShoot. All Rights Reserved.