File

src/port/refs/port.ref.ts

Description

TBD Base class for port references.

Index

Properties
Methods

Constructor

constructor(url: string)

Constructor

Parameters :
Name Type Optional Description
url string

Methods

release
release()

If this port reference is being deleted/removed, call this method.

Returns : void

Properties

Public url
url: string
Type : string

REST URL of the port

export class PortRef {
    /**
     * Constructor
     * @param url REST URL of the port
     */
    constructor (public url: string) { /** */ }

    /**
     * If this port reference is being deleted/removed, call this method.
     */
    release(): void { /** base reference does nothing */ };
}

results matching ""

    No results matching ""