org.lastbamboo.common.ice.candidate
Class IceTcpHostPassiveCandidate
java.lang.Object
org.lastbamboo.common.ice.candidate.AbstractIceCandidate
org.lastbamboo.common.ice.candidate.IceTcpHostPassiveCandidate
- All Implemented Interfaces:
- Comparable<AbstractIceCandidate>, IceCandidate
public class IceTcpHostPassiveCandidate
- extends AbstractIceCandidate
ICE passive TCP candidate for the local host.
| 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 |
IceTcpHostPassiveCandidate
public IceTcpHostPassiveCandidate(InetSocketAddress socketAddress,
boolean controlling)
- Creates a new TCP passive ICE candidate for the local host.
- Parameters:
socketAddress - The address of the local host.controlling - Whether or not this candidate is the controlling
candidate.
IceTcpHostPassiveCandidate
public IceTcpHostPassiveCandidate(InetSocketAddress socketAddress,
String foundation,
boolean controlling,
long priority,
int componentId)
- Creates a new TCP passive ICE candidate for the local host.
- Parameters:
socketAddress - The address of the local host.foundation - The foundation for the candidate.controlling - Whether or not this candidate is the controlling
candidate.priority - The priority.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.