Closed dilawar closed 5 years ago
@surbhit21 Have a look at this ticket. In case, I've missed something essential, let me know.
Hey Dilawar, Can we restrict it to only specific web clients, like FindSim-web only for now, so that we have control over who can plugin to this socket?
PR #345 implements this. See the notes on this PR.
Currently
moose.Streamer
allows streaming data to acsv
file. This ticket track the progress of following:Socket streamer should be independant of it. May bemoose.Streamer
should stream to asocket
moose.TCPStreamer
is a good class which is always created by shell whenever functionality is available.boost
library which has cross-platform implementation of sockets. Otherwise stick tounix
sockets.json
format.More than one client should be supported. All client get the same data.Only 1 client is supported.(tablepath,t,value)
{ tablepath : [[t1,v1], [t2,v2]]}
.Using default%g
format. User should be able to change the format. Default format should have enough accuracy be suffient for web display.json
before streaming. Needs some data on potential cost and benefits. PLAIN TEXT JSONUNIX
socket? PORT NUMBER 311416 by default.boost
for this? NO Using default headers e.g.sys/socket.h
etc.