Primary Base module used to create IOT instance processes which communicate via various flavors of sockets.
 
Go to file
David Kebler d0173c045f With changes in socket module now send is async and returns the response from the socket.
send now transport send now process as many consumer sockets as have been created by pushing them onto array and the using promise.all and map to send out together.
Return for one than one is an array of responses.
getPacketByName was added to make it easy to grab just one of those in returned array.
2018-02-13 14:19:18 -08:00
examples With changes in socket module now send is async and returns the response from the socket. 2018-02-13 14:19:18 -08:00
src With changes in socket module now send is async and returns the response from the socket. 2018-02-13 14:19:18 -08:00
test refactor base so it works with latest uci-socket 2018-01-28 22:37:54 -08:00
.eslintrc.js fixed separation of packet properties for each socket type when customizing 2018-01-29 21:52:24 -08:00
.gitignore initial commit 2017-12-21 15:50:05 -08:00
.npmignore initial commit 2017-12-21 15:50:05 -08:00
.travis.yml initial commit 2017-12-21 15:50:05 -08:00
package-lock.json Nearly functional uci base module 2018-01-18 21:32:07 -08:00
package.json With changes in socket module now send is async and returns the response from the socket. 2018-02-13 14:19:18 -08:00
readme.md changed sockets options now can add as many as you want of either type and transport 2018-02-04 14:18:21 -08:00

readme.md

uCOMmandIt Base Class for all Classes

Build Status Inline docs Dependencies devDependencies codecov

Base Class extended for all UCI Classes

changed sockets options now can add as many as you want of either type and transport improved socket packet processing call now binds this and name of socket that received packet for processing single common processor for all packets incoming (either consumer or socket) default processing splits into socket or consumer default processing has calls looking for packet cmd functions before returning error packet

  1. Added Namespace // TODO
  2. A Pariticular Sockect
  3. Root of instance
  4. The socket type and transport //TODO
  5. The socket type there are helper functions for adding cmd functions to any of these save the root instance we you can add directly.