Socket
Socket
Sign inDemoInstall

alljoyn

Package Overview
Dependencies
13
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    alljoyn

Alljoyn Node Integration


Version published
Weekly downloads
15
increased by114.29%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

AllJoyn

Installation

npm install alljoyn

Usage

var alljoyn = require('alljoyn');

// create a bus
var bus = alljoyn.BusAttachment('test');

// create interface description
var inter = alljoyn.InterfaceDescription();

// create listener
var listener = alljoyn.BusListener(
  function(name){
    console.log("FoundAdvertisedName", name);
  },
  function(name){
    console.log("LostAdvertisedName", name);
  },
  function(name){
    console.log("NameOwnerChanged", name);
  }
);

// create the interface
bus.createInterface('org.alljoyn', inter);

// register the listener on the bus
bus.registerBusListener(listener)

// initialize the bus
bus.start();

// start listening
bus.connect();

// discover devices with prefix 'org.alljoyn'
bus.findAdvertisedName('org.alljoyn')

Currently Implemented

  • discovery

Currently Supported Operating Systems

  • Mac OSX

License

MIT

Keywords

FAQs

Last updated on 16 Aug 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc