use TCP to connect to mbed connector
Fork of mbedConnectorInterfaceWithDM by
Diff: mbed-connector-interface/TickerResourceObserver.h
- Revision:
- 54:dfee8691c83a
- Parent:
- 34:a10d65907549
--- a/mbed-connector-interface/TickerResourceObserver.h Mon Aug 08 19:02:00 2016 +0000 +++ b/mbed-connector-interface/TickerResourceObserver.h Tue Aug 09 17:18:49 2016 +0000 @@ -48,7 +48,7 @@ @param timer_id input the id for our timer (can be index value of each resource that is observed...) @param sleep_time input the time for the observation tasklet to sleep (in whole seconds...) */ - TickerResourceObserver(DynamicResource *resource,int sleep_time = OBS_PERIOD_MS); + TickerResourceObserver(DynamicResource *resource,int sleep_time = DEFAULT_OBS_PERIOD); /** Copy Constructor @@ -74,6 +74,11 @@ tasklet invoke function (static) */ void observationNotifier(void); + + /** + halt the underlying observer mechanism + */ + virtual void halt(); private: Ticker m_ticker;