1.0.1 • Published 8 years ago

tdrs v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

tdrs-node

NPM version Build Status Dependency Status

TDRS Node.js client reference implementation.

Notice: This is only a client implementation. You'll need to run a TDRS link in order to test/use this Node package.

Usage

NPM

In your project directory run:

$ npm install --save tdrs

Source

$ git clone https://github.com/weltraumco/tdrs-node.git
$ cd tdrs-node
$ npm test

Example code

If you clone this repository and build it yourself, you can try out the TDRS Node.js client implementation:

SimpleClient
$ npm run SimpleClient

By default, the SimpleClient will try to establish a connection to any of these TDRS links:

    {
        'receiverAddress': 'tcp://localhost:19790',
        'publisherAddress': 'tcp://localhost:19791'
    },
    {
        'receiverAddress': 'tcp://localhost:19890',
        'publisherAddress': 'tcp://localhost:19891'
    },
    {
        'receiverAddress': 'tcp://localhost:19990',
        'publisherAddress': 'tcp://localhost:19991'
    }

Feel free to modify examples/SimpleClient.js for testing purpose.