|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IceAgent
Interface for ICE agents.
| Method Summary | |
|---|---|
long |
calculateDelay(int Ta_i)
Calculates the delay in milliseconds to use before initiating a new transaction for a given media stream. |
void |
checkValidPairsForAllComponents(IceMediaStream mediaStream)
Notifies the listener that the media stream may have valid pairs for all components of a given media stream, possibly requiring changing states of other streams, as specified in part 2 of ICE section 7.1.2.2.3. |
IceState |
getIceState()
Accessor for the overall state of ICE processing. |
Collection<IceMediaStream> |
getMediaStreams()
Accessor for all the media streams for the agent. |
Queue<IceCandidatePair> |
getNominatedPairs()
Accessor for the nominated pairs. |
IceTieBreaker |
getTieBreaker()
Accessor for the role conflict tie-breaker for this agent. |
boolean |
isClosed()
Whether or not the check list is closed. |
boolean |
isControlling()
Returns whether or not this agent is the controlling agent. |
void |
onNominatedPair(IceCandidatePair pair,
IceMediaStream iceMediaStream)
Indicates a pair has been nominated. |
void |
onNoMorePairs()
Called when there are no more pairs to process. |
void |
onUnfreezeCheckLists(IceMediaStream mediaStream)
Tells the listener to unfreeze any other check lists. |
void |
onValidPairs(IceMediaStream mediaStream)
Tells the agent to consider the valid pairs for this media stream for nomination. |
void |
recomputePairPriorities()
Recomputes the priorities of pairs in checklists. |
void |
setControlling(boolean controlling)
Sets whether or not this agent is the controlling agent. |
| Methods inherited from interface org.lastbamboo.common.ice.IceOfferAnswer |
|---|
gatherCandidates |
| Methods inherited from interface org.lastbamboo.common.offer.answer.OfferAnswer |
|---|
close, closeTcp, closeUdp, generateAnswer, generateOffer, processAnswer, processOffer, useRelay |
| Method Detail |
|---|
IceState getIceState()
void setControlling(boolean controlling)
controlling - Whether or not this agent is the controlling agent.boolean isControlling()
true if this agent is the controlling agent,
otherwise false.IceTieBreaker getTieBreaker()
long calculateDelay(int Ta_i)
Ta_i - The transaction delay for the specific media stream.
void checkValidPairsForAllComponents(IceMediaStream mediaStream)
mediaStream - The media stream.void onUnfreezeCheckLists(IceMediaStream mediaStream)
mediaStream - The media stream initiating the unfreeze operation.void recomputePairPriorities()
Collection<IceMediaStream> getMediaStreams()
void onNominatedPair(IceCandidatePair pair,
IceMediaStream iceMediaStream)
pair - The nominated pair.iceMediaStream - The ICE media stream the pair is a part of.Queue<IceCandidatePair> getNominatedPairs()
Queue of nominated IceCandidatePairs.void onValidPairs(IceMediaStream mediaStream)
mediaStream - The media stream the pair is valid for.void onNoMorePairs()
boolean isClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||