01: /*
02: * DDS (Data Distribution Service) for JacORB
03: *
04: * Copyright (C) 2005 , Ahmed yehdih <ahmed.yehdih@gmail.com>, fouad
05: * allaoui <fouad.allaoui@gmail.com>, Didier Donsez (didier.donsez@ieee.org)
06: *
07: * This program is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Library General Public License
09: * as published by the Free Software Foundation; either version 2
10: * of the License, or (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU Library General Public License for more details.
16: *
17: * You should have received a copy of the GNU Library General Public
18: * License along with this program; if not, write to the Free Software
19: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20: * 02111-1307, USA.
21: *
22: * Coontact: Ahmed yehdih <ahmed.yehdih@gmail.com>, fouad allaoui
23: * <fouad.allaoui@gmail.com>, Didier Donsez (didier.donsez@ieee.org)
24: * Contributor(s)
25: *
26: **/
27: package org.jacorb.dds;
28:
29: /**
30: * This class is the abstract base class for all the DCPS objects that support QoS
31: * policies, a listener and a status condition.
32: */
33: public abstract class EntityImpl extends org.omg.dds.EntityPOA {
34: /* list of status */
35: static int Topic_INCONSISTANT_TOPIC = 0;
36: static int Subscriber_SAMPLE_LOST = 1,
37: Subscriber_DATA_ON_READERS = 2;
38: static int DataReader_SAMPLE_REJECTED = 3,
39: DataReader_LIVELINESS_CHANGED = 4,
40: DataReader_REQUESTED_DEADLINE_MISSED = 5,
41: DataReader_REQUESTED_INCOMPATIBLE_QOS = 6,
42: DataReader_DATA_AVAILABLE = 7;
43: static int DataWriter_LIVELINESS_LOST = 8,
44: DataWriter_OFFERED_DEADLINE_MISSED = 9,
45: DataWriter_OFFERED_INCOMPATIBLE_QOS = 10;
46:
47: int Status[];
48: boolean StatusChangedFlag[];
49: boolean enable;
50:
51: public abstract int enable();
52:
53: /**
54: * Not Implemented
55: * @return
56: */
57: public org.omg.dds.StatusCondition get_statuscondition() {
58: return null;
59: }
60:
61: /**
62: * Not Implemented
63: * @return
64: */
65: public int get_status_changes() {
66: return 0;
67: }
68: }
|