|
|
Re: Communication between two plugins [message #1717974 is a reply to message #1717814] |
Fri, 18 December 2015 11:20 |
Fran Pelc Messages: 3 Registered: December 2015 |
Junior Member |
|
|
hi,
ok for 1) and 2) I get Your point.
For 3) scenario is: two sensors(GSCL) get values every 10sec, then they send it to actuator (NSCL). For this example I have two states: "cheap" and "expensive" network which will be randomly generated every 20sec . If network is "cheap", actuator accepts the values, if "expensive" he returns time to wait for resend (lets say 5min).
For now I managed to put or "send" the values to actuator with "SCL.doRequest(new RequestIndication("CREATE", targetAktuator, REQENTITY, content));" - for now without the network price.
Thank You,
Fran
[Updated on: Fri, 18 December 2015 11:20] Report message to a moderator
|
|
|
Re: Communication between two plugins [message #1719609 is a reply to message #1717974] |
Sat, 09 January 2016 21:33 |
Fran Pelc Messages: 3 Registered: December 2015 |
Junior Member |
|
|
Hello,
this is what I managed to do:
1) on GSCL I have one application Sensor (new values every 10sec) and sends values to Controller on NSCL,
2) on NSCL I have application Controller and also one generator method for generating network price,
3) In Sensor application I put dependency to Controller application because I need to ask Controller for network price in generator method - for my assignment it is important that the price is generated on server side.
And now I have problem that application Controller is created on GSCL and NSCL after the first value is sent . I can't find why.
Controller IPU service is registered when I start plugin in NSCL cmd and seems also again when sending first value (but then it is created on GSCL).
EDIT: everything working, all done
[Updated on: Sun, 10 January 2016 16:45] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05205 seconds