fm.liveswitch.IceServerTestResult Class Reference

An ICE server test result. More...

Public Member Functions

fm.liveswitch.Candidate[] getCandidates ()
 Gets the candidates. More...
 
fm.liveswitch.Candidate[] getHostCandidates ()
 Gets the host candidates. More...
 
fm.liveswitch.Candidate[] getPeerReflexiveCandidates ()
 Gets the peer reflexive candidates. More...
 
fm.liveswitch.Candidate[] getRelayedCandidates ()
 Gets the relayed candidates. More...
 
fm.liveswitch.ServerAddress[] getServerAddresses (int port)
 Gets the server addresses from the fm.liveswitch.IceServerTestResult#getCandidates and a given port. More...
 
fm.liveswitch.ServerAddress[] getServerAddresses (int port, String publicIPAddress)
 Gets the server addresses from the fm.liveswitch.IceServerTestResult#getCandidates and a given port. More...
 
fm.liveswitch.ServerAddress[] getServerAddresses (int port, String[] publicIPAddresses)
 Gets the server addresses from the fm.liveswitch.IceServerTestResult#getCandidates and a given port. More...
 
fm.liveswitch.Candidate[] getServerReflexiveCandidates ()
 Gets the server reflexive candidates. More...
 
 IceServerTestResult (fm.liveswitch.Candidate[] candidates)
 Initializes a new instance of the fm.liveswitch.IceServerTestResult class. More...
 

Detailed Description

An ICE server test result.

Constructor & Destructor Documentation

◆ IceServerTestResult()

fm.liveswitch.IceServerTestResult.IceServerTestResult ( fm.liveswitch.Candidate[]  candidates)

Initializes a new instance of the fm.liveswitch.IceServerTestResult class.

Parameters
candidatesThe candidates.

Member Function Documentation

◆ getCandidates()

fm.liveswitch.Candidate [] fm.liveswitch.IceServerTestResult.getCandidates ( )

Gets the candidates.

◆ getHostCandidates()

fm.liveswitch.Candidate [] fm.liveswitch.IceServerTestResult.getHostCandidates ( )

Gets the host candidates.

◆ getPeerReflexiveCandidates()

fm.liveswitch.Candidate [] fm.liveswitch.IceServerTestResult.getPeerReflexiveCandidates ( )

Gets the peer reflexive candidates.

◆ getRelayedCandidates()

fm.liveswitch.Candidate [] fm.liveswitch.IceServerTestResult.getRelayedCandidates ( )

Gets the relayed candidates.

◆ getServerAddresses() [1/3]

fm.liveswitch.ServerAddress [] fm.liveswitch.IceServerTestResult.getServerAddresses ( int  port)

Gets the server addresses from the fm.liveswitch.IceServerTestResult#getCandidates and a given port.

The IP addresses will be taken from the server-reflexive candidates if available, or the host candidates if not.

Parameters
portThe port.

◆ getServerAddresses() [2/3]

fm.liveswitch.ServerAddress [] fm.liveswitch.IceServerTestResult.getServerAddresses ( int  port,
String  publicIPAddress 
)

Gets the server addresses from the fm.liveswitch.IceServerTestResult#getCandidates and a given port.

The IP addresses will be taken from the server-reflexive candidates if available, or the host candidates if not.

Parameters
portThe port.
publicIPAddressThe public IP address, if known.

◆ getServerAddresses() [3/3]

fm.liveswitch.ServerAddress [] fm.liveswitch.IceServerTestResult.getServerAddresses ( int  port,
String[]  publicIPAddresses 
)

Gets the server addresses from the fm.liveswitch.IceServerTestResult#getCandidates and a given port.

The IP addresses will be taken from the server-reflexive candidates if available, or the host candidates if not.

Parameters
portThe port.
publicIPAddressesThe public IP addresses, if known.

◆ getServerReflexiveCandidates()

fm.liveswitch.Candidate [] fm.liveswitch.IceServerTestResult.getServerReflexiveCandidates ( )

Gets the server reflexive candidates.