Merge "Remove "response" from yang."
[packetcable.git] / protocol_plugins.packetcable / src / main / java / org / pcmm / gates / ISessionClassID.java
1 /**
2  @header@
3  */
4 package org.pcmm.gates;
5
6 /**
7  *
8  */
9 public interface ISessionClassID {
10
11     /**
12      * gets the priority bits
13      *
14      * @return O-7 priority value
15      */
16     byte getPriority();
17
18     /**
19      * sets the priority value (0-7)
20      *
21      * @param value
22      *            priority
23      */
24     void setPriority(byte value);
25
26     /**
27      * gets the preemption value;
28      *
29      * @return peemption
30      */
31     byte getPreemption();
32
33     /**
34      * * sets the preemption
35      *
36      * @param value
37      *            preemption
38      */
39     void setPreemption(byte value);
40
41     /**
42      * compress the priority and preemption to a single byte value;
43      *
44      * @return SessionClassID as byte
45      */
46     byte toSingleByte();
47
48 }