Go to the documentation of this file.00001 #ifndef _ACSNC_IDL_
00002 #define _ACSNC_IDL_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #include <CosNotification.idl>
00030 #include <CosNotifyComm.idl>
00031 #include <NotifyExt.idl>
00032 #include <acscommon.idl>
00033 #include <baci.idl>
00034
00035 #pragma prefix "alma"
00036
00040 module acsnc
00041 {
00048 struct EventDescription
00049 {
00054 string name;
00055
00061 ACS::Time timestamp;
00062
00070 unsigned long long count;
00071 };
00072
00073
00078 typedef sequence<string> NCSeq;
00079
00080
00082
00084
00088 const string FILTER_LANGUAGE_NAME = "ETCL";
00089
00090
00096 const string SEQUENCE_EVENT_TYPE_PREFIX = "_SequenceOf_";
00097
00098
00102 typedef short domainNameValue;
00103
00107 const domainNameValue ALARMSYSTEM_DOMAIN_VAL = 0;
00108
00112 const string ALARMSYSTEM_DOMAIN_NAME = "ALARMSYSTEM";
00113
00115
00121 interface ACSEventAdmin : ACS::ACSComponent
00122 {
00137 boolean authenticate(in string token);
00138
00139
00153 void createChannel(in string channelName,
00154 in CosNotification::QoSProperties initialQOS,
00155 in CosNotification::AdminProperties initialAdmin);
00156
00172 void configChannelProperties(in string channelName,
00173 in CosNotification::QoSProperties newQOS,
00174 in CosNotification::AdminProperties newAdmin);
00175
00185 void destroyChannel(in string channelName);
00186
00203 void getChannelInfo(in string channelName,
00204 out unsigned short numSuppliers,
00205 out unsigned short numConsumers,
00206 out unsigned long long totalEvents,
00207 out CosNotification::QoSProperties initialQOS,
00208 out CosNotification::AdminProperties initialAdmin,
00209 out NCSeq eventTypes);
00210
00220 NCSeq getActiveChannels();
00221
00237 void monitorEvents(in ACS::CBstring cb,
00238 in ACS::CBDescIn desc);
00239 };
00240
00246 interface OSPushSupplier : CosNotifyComm::StructuredPushSupplier, ACS::OffShoot {};
00247
00253 interface OSPushConsumer : CosNotifyComm::StructuredPushConsumer, ACS::OffShoot {};
00254
00260 interface OSReconnectionCallback : NotifyExt::ReconnectionCallback, ACS::OffShoot {};
00261 };
00262 #endif