Class: Destination

$.net. Destination

Returns the network destination with the given name. A network destination contains metadata, for example, host name and port number. A network destination can also contain custom properties.

new Destination(package, objectName)

Parameters:
Name Type Description
package String The package where the destination is located
objectName String The name of the destination file
Throws:
Throws an error if no valid network destination is found with the given name

Members

<readonly> host :String

Property used to retrieve the host defined in a network destination
Type:
  • String

<readonly> port :Number

Property used to retrieve the port defined in a network destination
Type:
  • Number