fabe09761c69d66624c14193a0871043cc0a7f95
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / gates / ISessionClassID.java
1 /*
2  * (c) 2015 Cable Television Laboratories, Inc.  All rights reserved.
3  */
4
5 package org.pcmm.gates;
6
7 /**
8  *
9  */
10 public interface ISessionClassID {
11
12     /**
13      * gets the priority bits
14      *
15      * @return O-7 priority value
16      */
17     byte getPriority();
18
19     /**
20      * gets the preemption value;
21      *
22      * @return peemption
23      */
24     byte getPreemption();
25
26     /**
27      * compress the priority and preemption to a single byte value;
28      *
29      * @return SessionClassID as byte
30      */
31     byte toSingleByte();
32
33 }