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