public class RelayedCandidate extends LocalCandidate
Modifier and Type | Field and Description |
---|---|
private RelayedCandidateDatagramSocket |
relayedCandidateDatagramSocket
The RelayedCandidateDatagramSocket of this
RelayedCandidate.
|
private IceSocketWrapper |
socket
The application-purposed DatagramSocket associated with this
Candidate.
|
private TurnCandidateHarvest |
turnCandidateHarvest
The TurnCandidateHarvest which has harvested this
RelayedCandidate.
|
MAX_LOCAL_PREFERENCE, MAX_TYPE_PREFERENCE, MIN_LOCAL_PREFERENCE, MIN_TYPE_PREFERENCE, priority
Constructor and Description |
---|
RelayedCandidate(TransportAddress transportAddress,
TurnCandidateHarvest turnCandidateHarvest,
TransportAddress mappedAddress)
Initializes a new RelayedCandidate which is to represent a
specific TransportAddress harvested through a specific
HostCandidate and a TURN server with a specific
TransportAddress.
|
Modifier and Type | Method and Description |
---|---|
IceSocketWrapper |
getCandidateIceSocketWrapper()
Gets the application-purposed DatagramSocket associated with
this Candidate.
|
private RelayedCandidateDatagramSocket |
getRelayedCandidateDatagramSocket()
Gets the RelayedCandidateDatagramSocket of this
RelayedCandidate.
|
createStunDatagramPacketFilter, findRelatedCandidate, free, getCandidateIceSocketWrapper, getDatagramSocket, getExtendedType, getIceSocketWrapper, getSocket, getStunSocket, getStunStack, getUfrag, isDefault, isSSL, setExtendedType, setSSL, setUfrag
canReach, compareTo, computeGTalkPriority, computeGTalkPriorityForType, computePriority, computePriorityForType, equals, getBase, getDefaultPreference, getFoundation, getHostAddress, getMappedAddress, getParentComponent, getPriority, getReflexiveAddress, getRelatedAddress, getRelatedCandidate, getRelayedAddress, getRelayServerAddress, getStunServerAddress, getTcpType, getTransport, getTransportAddress, getType, hashCode, isVirtual, setBase, setCandidateType, setFoundation, setMappedAddress, setRelayServerAddress, setStunServerAddress, setTcpType, setVirtual, toShortString, toString
private RelayedCandidateDatagramSocket relayedCandidateDatagramSocket
private IceSocketWrapper socket
private final TurnCandidateHarvest turnCandidateHarvest
public RelayedCandidate(TransportAddress transportAddress, TurnCandidateHarvest turnCandidateHarvest, TransportAddress mappedAddress)
transportAddress
- the TransportAddress to be represented
by the new instanceturnCandidateHarvest
- the TurnCandidateHarvest which has
harvested the new instancemappedAddress
- the mapped TransportAddress reported by the
TURN server with the delivery of the replayed transportAddress
to be represented by the new instanceprivate RelayedCandidateDatagramSocket getRelayedCandidateDatagramSocket()
Note: The method is part of the internal API of RelayedCandidate and TurnCandidateHarvest and is not intended for public use.
public IceSocketWrapper getCandidateIceSocketWrapper()
getCandidateIceSocketWrapper
in class LocalCandidate
Copyright © 2018. All rights reserved.