File: chat.yang

package info (click to toggle)
yuma123 2.14-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,436 kB
  • sloc: ansic: 185,144; cpp: 10,968; python: 7,990; sh: 2,676; makefile: 1,175; xml: 807; exp: 776; perl: 70
file content (41 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
module chat {

  namespace "http://yuma123.org/ns/chat";

  prefix "chat";

  organization  "yuma123.org";

  description 
    "chat module";

  revision 2016-10-17 {
      description
          "Initial revision";
  }

  rpc send-message {
    description
      "Sends message.";
    input {
      leaf text {
        type string;
        mandatory true;
        description
          "Text of the message.";
      }
    }
  }

  notification message {
    description
      "This notification is used to report a message.";

    leaf text {
      type string;
      mandatory true;
      description
        "Text of the message.";
    }
  }
}