Sha256: 469027e2a41f3a91a72cfd851fbecddc00709a29c4c67b7b35dafb4d7cef2047

Contents?: true

Size: 796 Bytes

Versions: 8

Compression:

Stored size: 796 Bytes

Contents

const wrapper = require('./TransmitterWrapper')

class Transmitter {

   static sendCommand(messageArray) {
        return wrapper.sendCommand(messageArray)
    }

    static #activate = function(licenceKey = "", proxyHost = "", proxyUserName="", proxyUserPassword="") {
        return wrapper.activate(licenceKey, proxyHost, proxyUserName, proxyUserPassword)
    }

    static activateWithLicenceFile() {
        return this.#activate()
    }

    static activateWithCredentials(licenceKey) {
        return this.#activate(licenceKey)
    }

    static activateWithCredentialsAndProxy(licenceKey, proxyHost, proxyUserName, proxyUserPassword) {
        return this.#activate(licenceKey, proxyHost, proxyUserName, proxyUserPassword)
    }
}

module.exports = Transmitter

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
javonet-ruby-sdk-2.3.0 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js
javonet-ruby-sdk-2.2.0 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js
javonet-ruby-sdk-2.1.14 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js
javonet-ruby-sdk-2.1.13 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js
javonet-ruby-sdk-2.1.12 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js
javonet-ruby-sdk-2.1.11 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js
javonet-ruby-sdk-2.1.10 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js
javonet-ruby-sdk-2.1.9 lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js