|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IceCandidate
This is an interface for an ICE "candidate" as defined in the IETF draft "draft-ietf-mmusic-ice-05.txt". A candidate is typically a media-level attributed in SDP data transferred using SIP, but a node can learn of candidates using any other offer/answere protocol or mode of describing the media.
| Method Summary | ||
|---|---|---|
|
accept(IceCandidateVisitor<T> visitor)
Accepts the specified visitor to an ICE candidate. |
|
IceCandidate |
getBaseCandidate()
Accessor for the base candidate for this candidate. |
|
int |
getComponentId()
Accessor for the component ID of this candidate. |
|
String |
getFoundation()
Accessor for the candidate's foundation. |
|
long |
getPriority()
Accessor for the priority of the candidate. |
|
InetAddress |
getRelatedAddress()
|
|
int |
getRelatedPort()
|
|
InetSocketAddress |
getSocketAddress()
Accessor for the address and port of the candidate. |
|
IceTransportProtocol |
getTransport()
Accessor for the type of transport of this candidate, such as TCP or UDP. |
|
IceCandidateType |
getType()
Gets the type of the ICE candidate. |
|
boolean |
isControlling()
Returns whether or not this peer is the controlling peer. |
|
boolean |
isUdp()
|
|
void |
setControlling(boolean controlling)
Sets the controlling status of this candidate. |
|
| Method Detail |
|---|
InetSocketAddress getSocketAddress()
long getPriority()
IceTransportProtocol getTransport()
<T> T accept(IceCandidateVisitor<T> visitor)
T - The class to return.visitor - The visitor to accept.
IceCandidateType getType()
int getComponentId()
String getFoundation()
IceCandidate getBaseCandidate()
boolean isControlling()
true if this peer is the controlling peer,
otherwise false.InetAddress getRelatedAddress()
int getRelatedPort()
void setControlling(boolean controlling)
controlling - The controlling status.boolean isUdp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||