writing a cloudlet [message #1713189] |
Mon, 02 November 2015 03:28  |
Eclipse User |
|
|
|
hi all,
another thing i've found difficult to trace is how to implement/extend cloudlet.
I have looked at the sourcecode of 'CommandCloudApp' and 'CloudConfigurationHandler' which are the only extensions of Cloudlet I could fine, and it isn't obvious how they subscribe to and route messages for their respective restful handlers.
Sending the app_id into the constructor, I was hoping that the 'doGet/doPut...' methods would just be called when an appropriate topic is published ie Cloudlet would know to subscribe to #/appid/[GET/PUT/EXEC...] and do the plumbing for me
however, I can't seem to get these methods to invoke. I have tried with and without '$EDC' prefix.
Are there any examples out there or can someone explain the general process of implementing a simple Cloudlet which receives calls to 'doGet' 'doPut' when appropriate messages are published?
thanks, paul.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05404 seconds