fm.liveswitch.sdp.ice.RemoteCandidate Class Reference

An SDP remote candidate element. More...

Public Member Functions

int getComponentId ()
 Gets the ID of the component for which this is a remote candidate. More...
 
String getConnectionAddress ()
 Gets the IP address of the remote candidate. More...
 
int getPort ()
 Gets the port of the remote candidate. More...
 
 RemoteCandidate (int componentId, String connectionAddress, int port)
 Initializes a new instance of the fm.liveswitch.sdp.ice.RemoteCandidate class. More...
 
String toString ()
 Converts this instance to a string. More...
 

Static Public Member Functions

static fm.liveswitch.sdp.ice.RemoteCandidate parse (String s)
 Creates an fm.liveswitch.sdp.ice.RemoteCandidate instance from a string. More...
 

Detailed Description

An SDP remote candidate element.

Constructor & Destructor Documentation

◆ RemoteCandidate()

fm.liveswitch.sdp.ice.RemoteCandidate.RemoteCandidate ( int  componentId,
String  connectionAddress,
int  port 
)

Initializes a new instance of the fm.liveswitch.sdp.ice.RemoteCandidate class.

Parameters
componentIdThe ID of the component for which this is a remote candidate.
connectionAddressThe IP address of the remote candidate.
portThe port of the remote candidate.

Member Function Documentation

◆ getComponentId()

int fm.liveswitch.sdp.ice.RemoteCandidate.getComponentId ( )

Gets the ID of the component for which this is a remote candidate.

◆ getConnectionAddress()

String fm.liveswitch.sdp.ice.RemoteCandidate.getConnectionAddress ( )

Gets the IP address of the remote candidate.

◆ getPort()

int fm.liveswitch.sdp.ice.RemoteCandidate.getPort ( )

Gets the port of the remote candidate.

◆ parse()

static fm.liveswitch.sdp.ice.RemoteCandidate fm.liveswitch.sdp.ice.RemoteCandidate.parse ( String  s)
static

Creates an fm.liveswitch.sdp.ice.RemoteCandidate instance from a string.

Parameters
sThe string to parse.

◆ toString()

String fm.liveswitch.sdp.ice.RemoteCandidate.toString ( )

Converts this instance to a string.