Commit Graph

66 Commits (42d4b5400898a50fe0345764bfa79af28d2131c0)

Author SHA1 Message Date
David Kebler bb0ca93e43 make the class instance the default context for packet commands 2018-01-28 22:32:25 -08:00
David Kebler 1b846c4753 added packet property to hold processor and both local and added context in which to process packets for both socket and consumer
changed tests accordingly
2018-01-26 10:30:10 -08:00
David Kebler ab56bddd72 improved and debugged packet processing with corresponding better more exhaustive testing 2018-01-23 16:02:56 -08:00
David Kebler 0f82f4aedd fix app processor property that wasn't getting set 2018-01-22 12:18:34 -08:00
David Kebler 1fe0d71e0e replaced stream processing with more robust processing using buffer length using new JsonStream class 2018-01-21 20:04:19 -08:00
David Kebler 9d6a562cda improved/added example files 2018-01-20 14:30:21 -08:00
David Kebler c7d25521e8 added dual consumer testing of socket
catch if consumeris already connected and continue
2018-01-20 13:52:07 -08:00
David Kebler 4b13cef73a streamline class method binding and setting of packet processing function 2018-01-19 20:43:16 -08:00
David Kebler 57324c616c added chunck processing into JSON packets using newline delimiter
fixed left unix socket file bug
improved some defaults handling
added custom packet processing for tcp vs unix
2018-01-19 09:35:15 -08:00
David Kebler f0c6e96d02 added option for tcp socket so now module is just uci-socket. No authentification nor https at this point 2018-01-16 12:43:36 -08:00
David Kebler 2b14508d6f added in test, passing. Added in bunyan logger 2018-01-13 20:46:14 -08:00
David Kebler ae72d3af02 added handshaking from socket before finishing consumer connection, fixed async flow control issues, added in mocha test, improved passing of external app for packet processing 2018-01-10 20:33:39 -08:00
David Kebler e5167c3995 basic working socket-consumer modules with no handshaking but passing json objects 2018-01-08 13:06:01 -08:00
David Kebler 0290ec99a7 changing to esm .mjs module from .js using @std/esm 2018-01-08 13:04:32 -08:00
David Kebler c3e94b465e initial commit 2017-12-21 15:50:05 -08:00
David Kebler 6b9b399ee5 initial commit 2017-12-21 15:47:14 -08:00