]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/mac/tkn154/interfaces/private/ResourceTransferred.nc
- moved promiscuous mode into separate component
[tinyos-2.x.git] / tos / lib / mac / tkn154 / interfaces / private / ResourceTransferred.nc
index 4c7c8a9712e3525b03c698a0eea98e4d58b564a7..1e9ccd7f74e9e7c029ce1c60bf8653fda3565913 100644 (file)
@@ -35,25 +35,12 @@ interface ResourceTransferred
 {
 
   /** 
-   * Control of a resource was transferred to this component from another
-   * client. This event is similar to the Resource.granted() event, but when a
-   * the resource is released, it is released on behalf of the client who was
-   * last signalled the Resource.granted() event.
+   * Ownership of a resource is transferred, possibly overriding the default
+   * queueing policy. This event is similar to an async Resource.granted()
+   * event, but when a the resource is released, it is released on behalf of
+   * the client who was last signalled the Resource.granted() event.
    *
    * @see ResourceTransfer interface
    */
-  async event void transferred();
-
-  /** 
-   *
-   * Release control of a resource - this command is equivalent to calling
-   * Resource.release() and included for convenience. 
-   *
-   * @return SUCCESS The resource has been released <br> FAIL You tried to
-   * release but you are not the owner of the resource
-   *
-   * @see ResourceTransfer interface
-   */
-
-  async command error_t release();
+  async event void transferred(); 
 }