Constructor
new Addresses(clientAddressType, clientAddress, serverAddressType, serverAddress, q4sClientPorts, q4sServerPorts, appClientPorts, appServerPorts)
Constructor for the QualityParameters class. Does not validate input data
coherence.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
clientAddressType |
number | Ip version of the client | |||||||||
clientAddress |
String | Ip of the client. | |||||||||
serverAddressType |
number | Ip version of the server. | |||||||||
serverAddress |
String | Ip of the server | |||||||||
q4sClientPorts |
Object | Ports opened for Q4S communication at
client side
Properties
|
|||||||||
q4sServerPorts |
Object | Ports opened for Q4S communication at
server side
Properties
|
|||||||||
appClientPorts |
Object | Ports opened for app communication at
client side
Properties
|
|||||||||
appServerPorts |
Object | Ports opened for app communication at
server side
Properties
|
- Source:
Members
appClientPorts :Object
Opened ports for the client app cumunication
Type:
- Object
- Source:
appServerPorts :Object
Opened ports for the server app cumunication
Type:
- Object
- Source:
clientAddress :String
Client IP
Type:
- String
- Source:
clientAddressType :Number
Type:
- Number
- Source:
q4sClientPorts :Object
Opened ports for the client q4s cumunication
Type:
- Object
- Source:
q4sServerPorts :Object
Opened ports for the server q4s cumunication
Type:
- Object
- Source:
serverAddress :String
Server IP
Type:
- String
- Source:
serverAddressType :Number
Ip version of the server.
Type:
- Number
- Source:
Methods
ipToSdp() → {String}
Return an string representation of the addreses contained within this
object.
- Source:
Returns:
- The String representation of this object.
- Type
- String
portToSDP() → {String}
Return an string representation of tthe flow ports contained within this
object.
- Source:
Returns:
- The String representation of this object.
- Type
- String
updateFromSDP(sdp)
Updates the current Network parameters with data coming from an sdp.
Parameters:
Name | Type | Description |
---|---|---|
sdp |
String | The sdp representation of this parameters. |
- Source: