Thanks for your answer Erich.

BR,

Zhaoyan

________________________________
???: Keane, Erich <erich.keane at intel.com>
????: 2016?10?19? 16:03:39
???: it xiaoyan; dev Iotivity
??: Kourt, Tim A
??: RE: Question about how to use PlatformConfig.ServiceType ?

There is likely better people who are active on the project that can give you 
an updated answer, but I?ll try.

Short answer:  It does (at least ?did? as of about a year ago) absolutely 
nothing.  Set it to ?IN_PROC? and don?t worry about it.

Long answer: This is a historical left-over.  When initially designed, IoTivity 
was supposed to have the option to run either in the same process as the 
caller, or as a ?service? or ?daemon? so that multiple instances could share 
the same stack.  This was called ?Out of Proc?.  I don?t think it was ever 
implemented, and if it hasn?t changed, the C++ implementation will throw an 
exception if you attempt to use it.

From: it xiaoyan [mailto:[email protected]]
Sent: Wednesday, October 19, 2016 2:01 AM
To: dev Iotivity <iotivity-dev at lists.iotivity.org>
Cc: Kourt, Tim A <tim.a.kourt at intel.com>; Keane, Erich <erich.keane at 
intel.com>
Subject: Question about how to use PlatformConfig.ServiceType ?


Hi Erich,

I'm not clear what's the ServiceType means  and how to use it's value : IN_PROC 
,OUT_OF_PROC , could you details the notes ?

[cid:image001.png at 01D229E6.E4BFD600]



Thank you very much !





BR,

Xiaoyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161020/edfdf271/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 33318 bytes
Desc: image001.png
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161020/edfdf271/attachment.png>

Reply via email to