Source Code Cross Referenced for TopicImpl.java in  » Collaboration » JacORB » org » jacorb » dds » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Collaboration » JacORB » org.jacorb.dds 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         *  DDS (Data Distribution Service) for JacORB
003:         *
004:         * Copyright (C) 2005  , Ahmed yehdih <ahmed.yehdih@gmail.com>, fouad
005:         * allaoui <fouad.allaoui@gmail.com>, Didier Donsez (didier.donsez@ieee.org)
006:         *
007:         * This program is free software; you can redistribute it and/or
008:         * modify it under the terms of the GNU Library General Public License
009:         * as published by the Free Software Foundation; either version 2
010:         * of the License, or (at your option) any later version.
011:         *
012:         * This program is distributed in the hope that it will be useful,
013:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
014:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
015:         * GNU Library General Public License for more details.
016:         *
017:         * You should have received a copy of the GNU Library General Public 
018:         * License along with this program; if not, write to the Free Software
019:         * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
020:         * 02111-1307, USA.
021:         *
022:         * Coontact: Ahmed yehdih <ahmed.yehdih@gmail.com>, fouad allaoui
023:         * <fouad.allaoui@gmail.com>, Didier Donsez (didier.donsez@ieee.org)
024:         * Contributor(s)
025:         *
026:         **/
027:        package org.jacorb.dds;
028:
029:        import org.omg.dds.DomainParticipant;
030:        import org.omg.dds.InconsistentTopicStatus;
031:        import org.omg.dds.StatusCondition;
032:        import org.omg.dds.TopicListener;
033:        import org.omg.dds.TopicPOA;
034:        import org.omg.dds.TopicQos;
035:
036:        /**
037:         * Topic is the most basic description of the data to be published and subscribed.
038:         * A Topic is identified by its name, which must be unique in the whole Domain. In addition 
039:         * (by virtue of extending TopicDescription) it fully specifies the type of the data
040:         * that can be communicated when publishing or subscribing to the Topic.Topic is the only 
041:         * TopicDescription that can be used for publications and therefore associated to a 
042:         * DataWriter.
043:         */
044:        public class TopicImpl extends TopicPOA {
045:
046:            private String topic_name;
047:            private String type_name;
048:            private TopicQos qos;
049:            private TopicListener a_listener;
050:            private DomainParticipant DP_Parent;
051:            private org.omg.CORBA.ORB orb;
052:            private org.omg.PortableServer.POA poa;
053:
054:            /**
055:             * @return Returns the topic_name.
056:             */
057:            public String getTopic_name() {
058:                return topic_name;
059:            }
060:
061:            /**
062:             * @return Returns the type_name.
063:             */
064:            public String getType_name() {
065:                return type_name;
066:            }
067:
068:            /**
069:             * @param orb The orb to set.
070:             */
071:            public void setORB(org.omg.CORBA.ORB orb) {
072:                this .orb = orb;
073:            }
074:
075:            /**
076:             * @param poa The poa to set.
077:             */
078:            public void setPOA(org.omg.PortableServer.POA poa) {
079:                this .poa = poa;
080:            }
081:
082:            /**
083:             * @param topic_name
084:             * @param type_name
085:             * @param qos
086:             * @param a_listener
087:             * @param parent
088:             */
089:            public TopicImpl(String topic_name, String type_name, TopicQos qos,
090:                    TopicListener a_listener, DomainParticipant parent) {
091:                this .topic_name = topic_name;
092:                this .type_name = type_name;
093:                this .qos = qos;
094:                this .a_listener = a_listener;
095:                DP_Parent = parent;
096:            }
097:
098:            /**
099:             * Not Implemented
100:             * @return
101:             */
102:            public InconsistentTopicStatus get_inconsistent_topic_status() {
103:                return null;
104:            }
105:
106:            /**
107:             * Not Implemented
108:             * @return
109:             */
110:            public int enable() {
111:                return 0;
112:            }
113:
114:            /**
115:             * Not Implemented
116:             * @return
117:             */
118:            public StatusCondition get_statuscondition() {
119:                return null;
120:            }
121:
122:            /**
123:             * Not Implemented
124:             * @return
125:             */
126:            public int get_status_changes() {
127:                return 0;
128:            }
129:
130:            /**
131:             * @return
132:             */
133:            public String get_type_name() {
134:                return getType_name();
135:            }
136:
137:            /**
138:             * @return
139:             */
140:            public String get_name() {
141:                return getTopic_name();
142:            }
143:
144:            /**
145:             * @return
146:             */
147:            public DomainParticipant get_participant() {
148:                return DP_Parent;
149:            }
150:
151:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.