Add missing license headers to packetcable-driver gates
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / gates / ISessionClassID.java
1 /*
2  * Copyright (c) 2015 Cable Television Laboratories, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.pcmm.gates;
10
11 /**
12  *
13  */
14 public interface ISessionClassID {
15
16     /**
17      * gets the priority bits
18      *
19      * @return O-7 priority value
20      */
21     byte getPriority();
22
23     /**
24      * gets the preemption value;
25      *
26      * @return peemption
27      */
28     byte getPreemption();
29
30     /**
31      * compress the priority and preemption to a single byte value;
32      *
33      * @return SessionClassID as byte
34      */
35     byte toSingleByte();
36
37 }