File

protocol-lpwan/multiple-lns-connectors/multiple-lns-connector.service.ts

Index

Methods

Constructor

constructor(client: FetchClient, appStateService: AppStateService, alertService: AlertService)
Parameters :
Name Type Optional
client FetchClient No
appStateService AppStateService No
alertService AlertService No

Methods

Async create
create(connection: ActilityConnection | SigfoxConnection)
Parameters :
Name Type Optional
connection ActilityConnection | SigfoxConnection No
Returns : unknown
Async delete
delete(connection: ActilityConnection | SigfoxConnection)
Parameters :
Name Type Optional
connection ActilityConnection | SigfoxConnection No
Returns : unknown
Async detail
detail(connectionType: ConnectionType, connectionName: string)
Parameters :
Name Type Optional
connectionType ConnectionType No
connectionName string No
Returns : Promise<ActilityConnection | SigfoxConnection | null>
Async download
download(url: string)
Parameters :
Name Type Optional
url string No
Returns : Promise<IFetchResponse>
Async exists
exists(connectionType: ConnectionType, connectionName: string)
Parameters :
Name Type Optional
connectionType ConnectionType No
connectionName string No
Returns : Promise<boolean>
getApplication
getApplication(name: string)
Parameters :
Name Type Optional
name string No
getBaseUrlByConnection
getBaseUrlByConnection(connection: ActilityConnection | SigfoxConnection)
Parameters :
Name Type Optional
connection ActilityConnection | SigfoxConnection No
Returns : "" | "service/sigfox-agent" | "service/actility"
getBaseUrlByType
getBaseUrlByType(connectionType: ConnectionType)
Parameters :
Name Type Optional
connectionType ConnectionType No
Returns : "" | "service/sigfox-agent" | "service/actility"
Async list
list(connectionType: ConnectionType)
Parameters :
Name Type Optional
connectionType ConnectionType No
Returns : unknown
Async save
save(connection: ActilityConnection | SigfoxConnection, originalName: string)

Saves the connection.

Parameters :
Name Type Optional Default value Description
connection ActilityConnection | SigfoxConnection No

The connection to be saved.

originalName string No null

The original name of the connection, required to perform an update.

Returns : unknown
Async update
update(connection: ActilityConnection | SigfoxConnection, originalName: string)
Parameters :
Name Type Optional
connection ActilityConnection | SigfoxConnection No
originalName string No
Returns : unknown

results matching ""

    No results matching ""