|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IceCandidatePair
Interface for a pair of ICE candidates.
| Method Summary | ||
|---|---|---|
|
accept(IceCandidatePairVisitor<T> visitor)
Accepts the specified visitor to an ICE candidate pair. |
|
void |
cancelStunTransaction()
Cancels the existing STUN transaction. |
|
org.littleshoot.stun.stack.message.StunMessage |
check(org.littleshoot.stun.stack.message.BindingRequest request,
long rto)
|
|
void |
close()
|
|
int |
getComponentId()
Accessor for the component ID for the pair. |
|
String |
getFoundation()
Accessor for the foundation for the pair. |
|
org.littleshoot.mina.common.IoSession |
getIoSession()
|
|
IceCandidate |
getLocalCandidate()
Accessor for the local candidate for the pair. |
|
long |
getPriority()
Accessor for the priority for the pair. |
|
IceCandidate |
getRemoteCandidate()
Accessor for the remote candidate for the pair. |
|
IceCandidatePairState |
getState()
Accesses the state of the pair. |
|
boolean |
isNominated()
Returns whether or not this pair has already been nominated. |
|
boolean |
isNominateOnSuccess()
|
|
boolean |
isTcp()
Returns whether or not a pair is a TCP pair. |
|
boolean |
isTurnPair()
Check for whether or not this pair is for a TURN connection. |
|
void |
nominate()
Nominates this pair as potentially the final pair for exchanging media. |
|
void |
nominateOnSuccess()
|
|
void |
recomputePriority()
Recomputes the priority for the pair. |
|
void |
setIoSession(org.littleshoot.mina.common.IoSession session)
Sets the IoSession for the pair. |
|
void |
setState(IceCandidatePairState state)
Sets the state of the pair. |
|
void |
useCandidate()
Sets a flag indicating checks on this pair should include the USE-CANDIDATE attribute in their Binding Requests. |
|
boolean |
useCandidateSet()
Returns whether or not the USE-CANDIDATE attribute is set, i.e. |
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
IceCandidate getLocalCandidate()
IceCandidate getRemoteCandidate()
long getPriority()
IceCandidatePairState getState()
String getFoundation()
void setState(IceCandidatePairState state)
state - The state of the pair.int getComponentId()
<T> T accept(IceCandidatePairVisitor<T> visitor)
T - The class to return.visitor - The visitor to accept.
void nominate()
nominated - Whether or not this pair is nominated as the final
pair for exchanging media.void recomputePriority()
void cancelStunTransaction()
"means that the agent will not retransmit the request, will not treat the lack of response to be a failure, but will wait the duration of the transaction timeout for a response."
void useCandidate()
boolean useCandidateSet()
true if the USE-CANDIDATE attribute is in use.boolean isNominated()
true if the pair has been nominated, otherwise
false.
org.littleshoot.stun.stack.message.StunMessage check(org.littleshoot.stun.stack.message.BindingRequest request,
long rto)
void close()
org.littleshoot.mina.common.IoSession getIoSession()
void setIoSession(org.littleshoot.mina.common.IoSession session)
IoSession for the pair.
session - The IoSession.boolean isTurnPair()
true if the local candidate for this pair is for
our connection to our TURN server (the connection over which we sent
an Allocate Request).boolean isTcp()
true if the pair is TCP, otherwise
false.void nominateOnSuccess()
boolean isNominateOnSuccess()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||