org.lastbamboo.common.offer.answer
Class IceConfig

java.lang.Object
  extended by org.lastbamboo.common.offer.answer.IceConfig

public class IceConfig
extends Object

Convenience class for easily configuring ICE.


Constructor Summary
IceConfig()
           
 
Method Summary
static String[] getCipherSuites()
           
static boolean isDisableUdpOnLocalNetwork()
           
static boolean isTcp()
          Accessor for whether or not to negotiate TCP connections.
static boolean isUdp()
          Accessor for whether or not to negotiate UDP connections.
static void setCipherSuites(String[] cipherSuites)
           
static void setDisableUdpOnLocalNetwork(boolean disableUdpOnLocalNetwork)
           
static void setTcp(boolean tcp)
          Sets whether or not to use TCP.
static void setUdp(boolean udp)
          Sets whether or not to use UDP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IceConfig

public IceConfig()
Method Detail

setUdp

public static void setUdp(boolean udp)
Sets whether or not to use UDP.

Parameters:
udp - Whether or not to use UDP.

isUdp

public static boolean isUdp()
Accessor for whether or not to negotiate UDP connections.

Returns:
true if we should negotiate UDP connections, otherwise false.

setTcp

public static void setTcp(boolean tcp)
Sets whether or not to use TCP.

Parameters:
udp - Whether or not to use TCP.

isTcp

public static boolean isTcp()
Accessor for whether or not to negotiate TCP connections.

Returns:
true if we should negotiate TCP connections, otherwise false.

setCipherSuites

public static void setCipherSuites(String[] cipherSuites)

getCipherSuites

public static String[] getCipherSuites()

setDisableUdpOnLocalNetwork

public static void setDisableUdpOnLocalNetwork(boolean disableUdpOnLocalNetwork)

isDisableUdpOnLocalNetwork

public static boolean isDisableUdpOnLocalNetwork()


Copyright © 2013 LittleShoot. All Rights Reserved.