On Dec 20, 2004, at 3:49 AM, Victor Emanuel wrote:
Hi all,
�
�
� I �ve trying understand what means and how a utility of have "wiring" to bing components that provides->uses?
�
� So. Why i need to do that(wiring) in configuration files?
A component that "uses" an interface needs to be able to call its commands; similarly, a component that "provides" an interface needs to be able to signal its events. These are essentially function calls, so somebody needs to implement the function. Unlike object oriented approaches, the nesC component model separates the implementer of the function from its caller. This is to allow easier composition and (hopefully) reduce dependencies, promoting reuse and better fault isolation.
Phil
----------------
"We shall not cease from exploration And the end of all our exploring Will be to arrive where we started And know the place for the first time."
- T. S. Eliot, 'Little Gidding'
_______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
