W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > October 2018

Re: [dxwg] Content for the Abstract Model section

From: Nicholas Car via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Oct 2018 19:46:49 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-428706175-1539200808-sysbot+gh@w3.org>
How should we define a list of actions (methods?) in the abstract that a client and server must/may etc implement? What formal function description languages are available? Should it be something like this:

```
client:
    function request_available_profiles:
        a client requests the available profiles for a resource

    function get_profile:
        a client requests a profile preference list from a server

server:
    function list_profiles:
        a server lists the profiles for a resource    

    function send_profile
        a server responds to a get_profile request with either a specific profile or a defalt profile if the requested profile(s) is unavailable
```

-- 
GitHub Notification of comment by nicholascar
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/462#issuecomment-428706175 using your GitHub account
Received on Wednesday, 10 October 2018 19:46:50 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:28:25 UTC