Hi,

I'm trying to create a native module in order to receive data from a kind 
of sensor. To get updated, I need to provide 2 implementations of the same 
interface, which consists of a single method with the signature
void receiveData(const Data& data).

My problem is that I haven't been able to figure out how to pass the data 
forward to JavaScript. I suppose this requires the use of Handle, 
HandleScope etc. but how exactly would I make the call from receiveData to 
another object to do the necessary wrapping? Any example or sketch would be 
very helpful.

Thanks,
Miikka

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to