6 * @author Lukas Pokorny (lukas_pokorny@centrum.cz)
7 * @author CTU FEE Prague - Department of Control Engineering (dce.felk.cvut.cz)
8 * @author Project ORTE - OCERA Real Time Ethernet (www.ocera.org)
9 * @author dedication to Kj
12 * typedef enum ORTESendStatus {
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation; either version 2 of the License, or
20 * (at your option) any later version.
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
29 package org.ocera.orte.types;
32 public class SendStatus
34 // nemam to pridat k ostat konstantam????????
35 public static final int NEED_DATA = 0x01;
36 public static final int CQL = 0x02;
41 public SendStatus(int a)
46 public boolean needData()
48 if (this.value == NEED_DATA) return true;
52 public boolean critQueueLevel()
54 if (this.value == CQL) return true;