org.lastbamboo.common.ice.candidate
Class IceTcpPeerReflexiveCandidate
java.lang.Object
org.lastbamboo.common.ice.candidate.AbstractIceCandidate
org.lastbamboo.common.ice.candidate.IceTcpPeerReflexiveCandidate
- All Implemented Interfaces:
- Comparable<AbstractIceCandidate>, IceCandidate
public class IceTcpPeerReflexiveCandidate
- extends AbstractIceCandidate
Peer reflexive ICE TCP candidate.
| Methods inherited from class org.lastbamboo.common.ice.candidate.AbstractIceCandidate |
compareTo, equals, getBaseCandidate, getComponentId, getFoundation, getPriority, getRelatedAddress, getRelatedPort, getSocketAddress, getTransport, getType, hashCode, isControlling, isUdp, setControlling, toString |
IceTcpPeerReflexiveCandidate
public IceTcpPeerReflexiveCandidate(InetSocketAddress peerReflexiveAddress,
IceCandidate baseCandidate,
boolean controlling,
long priority)
- Creates a new TCP ICE candidate for the server peer candidate.
- Parameters:
peerReflexiveAddress - The address of the peer reflexive
candidate.baseCandidate - The local base candidate.controlling - Whether or not this candidate is the controlling
candidate.priority - The priority of the candidate.
IceTcpPeerReflexiveCandidate
public IceTcpPeerReflexiveCandidate(InetSocketAddress peerReflexiveAddress,
String foundation,
int componentId,
boolean controlling,
long priority)
- Creates a new TCP ICE candidate for the server peer candidate.
- Parameters:
peerReflexiveAddress - The address of the peer reflexive
candidate.foundation - The foundation.componentId - The component ID.controlling - Whether or not this candidate is the controlling
candidate.priority - The priority for the candidate.
accept
public <T> T accept(IceCandidateVisitor<T> visitor)
- Description copied from interface:
IceCandidate
- Accepts the specified visitor to an ICE candidate.
- Type Parameters:
T - The class to return.- Parameters:
visitor - The visitor to accept.
- Returns:
- The class the visitor created.
Copyright © 2013 LittleShoot. All Rights Reserved.