|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StunAddressProvider
Provider of STUN addresses.
| Method Summary | |
|---|---|
void |
close()
|
InetSocketAddress |
getHostAddress()
Gets the host address for this client, or the local address on a local network interface. |
InetSocketAddress |
getRelayAddress()
Accessor the relay address using the STUN relay usage. |
InetSocketAddress |
getServerReflexiveAddress()
Accessor for the "server reflexive address" for this ICE candidate, or the address from the perspective of a public STUN server. |
InetAddress |
getStunServerAddress()
Accessor for the address of the STUN server. |
| Method Detail |
|---|
InetSocketAddress getHostAddress()
InetSocketAddress getServerReflexiveAddress()
throws IOException
IOException - If there's an IO error writing the message.InetAddress getStunServerAddress()
InetSocketAddress getRelayAddress()
null if no relay
address could be obtained.void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||