public class IceCandidate extends TransportAddress implements Comparable<IceCandidate>, Cloneable
TransportAddress.TransportProtocol| Modifier and Type | Field and Description |
|---|---|
protected IceCandidate |
base
The base of a server reflexive candidate is the host candidate from which
it was derived.
A host candidate is also said to have a base, equal to that candidate itself. |
static int |
IP4_PRECEDENCE |
protocol, virtual| Modifier | Constructor and Description |
|---|---|
|
IceCandidate(IceComponent component,
InetAddress address,
int port,
CandidateType type) |
protected |
IceCandidate(IceComponent component,
String hostname,
int port,
CandidateType type) |
| Modifier and Type | Method and Description |
|---|---|
IceCandidate |
clone() |
int |
compareTo(IceCandidate o) |
int |
getAddressPrecedence() |
IceCandidate |
getBase() |
short |
getComponentId() |
String |
getFoundation() |
long |
getPriority() |
CandidateType |
getType() |
void |
setFoundation(String foundation) |
void |
setPriority(long priority) |
getAddressBytes, getProtocol, isIPv4, isIPv6, isVirtual, setVirtualcreateUnresolved, equals, getAddress, getHostName, getHostString, getPort, hashCode, isUnresolved, toStringpublic static final int IP4_PRECEDENCE
protected IceCandidate base
public IceCandidate(IceComponent component, InetAddress address, int port, CandidateType type)
protected IceCandidate(IceComponent component, String hostname, int port, CandidateType type)
public CandidateType getType()
public String getFoundation()
public void setFoundation(String foundation)
public int getAddressPrecedence()
public long getPriority()
public void setPriority(long priority)
public IceCandidate getBase()
public int compareTo(IceCandidate o)
compareTo in interface Comparable<IceCandidate>public IceCandidate clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic short getComponentId()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.