Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

acsnc.idl

Go to the documentation of this file.
00001 #ifndef _ACSNC_IDL_ 00002 #define _ACSNC_IDL_ 00003 /******************************************************************************* 00004 * ALMA - Atacama Large Millimiter Array 00005 * (c) Associated Universities Inc., 2002 00006 * (c) European Southern Observatory, 2002 00007 * Copyright by ESO (in the framework of the ALMA collaboration) 00008 * and Cosylab 2002, All rights reserved 00009 * 00010 * This library is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Lesser General Public 00012 * License as published by the Free Software Foundation; either 00013 * version 2.1 of the License, or (at your option) any later version. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public 00021 * License along with this library; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00023 * 00024 * who when what 00025 * -------- -------- ---------------------------------------------- 00026 * david 2003-03-03 contains strings common to all implementation languages 00027 * david 2002-09-26 added more comments 00028 */ 00029 #include <CosNotification.idl> 00030 #include <CosNotifyComm.idl> 00031 #include <acscommon.idl> 00032 #include <baci.idl> 00033 00034 #pragma prefix "alma" 00035 00039 module acsnc 00040 { 00047 struct EventDescription 00048 { 00053 string name; 00054 00060 ACS::Time timestamp; 00061 00069 unsigned long long count; 00070 }; 00071 00072 00077 typedef sequence<string> NCSeq; 00078 00079 00081 //The following definitions are used internally by all language mappings. 00083 00087 const string FILTER_LANGUAGE_NAME = "ETCL"; 00088 00089 00095 const string SEQUENCE_EVENT_TYPE_PREFIX = "_SequenceOf_"; 00096 00097 00101 typedef short domainNameValue; 00102 00106 const domainNameValue ALARMSYSTEM_DOMAIN_VAL = 0; 00107 00111 const string ALARMSYSTEM_DOMAIN_NAME = "ALARMSYSTEM"; 00112 00114 00120 interface ACSEventAdmin : ACS::ACSComponent 00121 { 00136 boolean authenticate(in string token); 00137 00138 00152 void createChannel(in string channelName, 00153 in CosNotification::QoSProperties initialQOS, 00154 in CosNotification::AdminProperties initialAdmin); 00155 00171 void configChannelProperties(in string channelName, 00172 in CosNotification::QoSProperties newQOS, 00173 in CosNotification::AdminProperties newAdmin); 00174 00184 void destroyChannel(in string channelName); 00185 00202 void getChannelInfo(in string channelName, 00203 out unsigned short numSuppliers, 00204 out unsigned short numConsumers, 00205 out unsigned long long totalEvents, 00206 out CosNotification::QoSProperties initialQOS, 00207 out CosNotification::AdminProperties initialAdmin, 00208 out NCSeq eventTypes); 00209 00219 NCSeq getActiveChannels(); 00220 00236 void monitorEvents(in ACS::CBstring cb, 00237 in ACS::CBDescIn desc); 00238 }; 00239 00245 interface OSPushSupplier : CosNotifyComm::StructuredPushSupplier, ACS::OffShoot {}; 00246 00252 interface OSPushConsumer : CosNotifyComm::StructuredPushConsumer, ACS::OffShoot {}; 00253 }; 00254 #endif

Generated on Thu Apr 30 02:26:27 2009 for ACS IDL interfaces by doxygen 1.3.8