org.lastbamboo.common.ice.candidate
Class IceTcpServerReflexiveSoCandidate
java.lang.Object
org.lastbamboo.common.ice.candidate.AbstractIceCandidate
org.lastbamboo.common.ice.candidate.IceTcpServerReflexiveSoCandidate
- All Implemented Interfaces:
- Comparable<AbstractIceCandidate>, IceCandidate
public class IceTcpServerReflexiveSoCandidate
- extends AbstractIceCandidate
ICE simultaneous open TCP candidate for server reflexive hosts.
| 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 |
IceTcpServerReflexiveSoCandidate
public IceTcpServerReflexiveSoCandidate(InetSocketAddress socketAddress,
IceCandidate baseCandidate,
InetAddress stunServerAddress,
boolean controlling)
- Creates a new ICE simultaneous open TCP candidate for server reflexive
hosts.
- Parameters:
socketAddress - The address of the server reflexive candidate.baseCandidate - The local base candidate.stunServerAddress - The address of the STUN server.controlling - Whether or not this candidate is the controlling
candidate.
IceTcpServerReflexiveSoCandidate
public IceTcpServerReflexiveSoCandidate(InetSocketAddress socketAddress,
String foundation,
InetAddress relatedAddress,
int relatedPort,
boolean controlling,
long priority,
int componentId)
- Creates a new ICE simultaneous open TCP candidate for server reflexive
hosts.
- Parameters:
socketAddress - The address of the relayed candidate.foundation - The foundation.relatedAddress - The address related to this candidate. In this
case, the mapped address received in the Allocate Response.relatedPort - The port related to this candidate. In this
case, the port in the mapped address received in the Allocate Response.controlling - Whether or not this candidate is the controlling
candidate.priority - The priority of the candidate.componentId - The component ID.
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.