00001 #ifndef OF_NOTIFICATION_IDL 00002 #define OF_NOTIFICATION_IDL 00003 00009 /* docdef: notifext */ 00010 00011 #include <TimeBase.idl> 00012 00013 #include <CosNotifyComm.idl> 00014 #include <CosNotification.idl> 00015 #include <CosNotifyFilter.idl> 00016 #include <CosNotifyChannelAdmin.idl> 00017 00018 #pragma prefix "prismt.com/cos/CosNotification" 00019 00020 module NotificationExtensions 00021 { 00022 // The following constant declarations define the PrismTech 00023 // extended QoS property names and the associated values each 00024 // property can take on. The name/value pairs for each standard 00025 // property are grouped, beginning with a string constant defined 00026 // for the property name, followed by the values the property can 00027 // take on. 00028 00029 const string AutoSequenceBatchSize = "AutoSequenceBatchSize"; 00030 // AutoSequenceBatchSize takes a value of long. 00031 00032 const string AutoSequenceTimeout = "AutoSequenceTimeout"; 00033 // AutoSequenceTimeout takes a value of ulonglong. 00034 00035 const string ReconnectInterval = "ReconnectInterval"; 00036 // ReconnectInterval takes a value of type TimeBase::TimeT. 00037 00038 const string MaxReconnectAttempts = "MaxReconnectAttempts"; 00039 // MaxReconnectAttempts takes a value of type long. 00040 00041 const string MaxInactivityInterval = "MaxInactivityInterval"; 00042 // MaxInactivityInterval takes a value of type TimeBase::TimeT. 00043 00044 const string MaxMemoryUsage = "MaxMemoryUsage"; 00045 // MaxMemoryUsage takes a value of type ulonglong. 00046 00047 const string DiscardedEventCount = "DiscardedEventCount"; 00048 // EventsDiscarded takes on a value of type ulonglong. 00049 00050 const string DiscardedEvents = "DiscardedEvents"; 00051 // DiscardedEvents takes on a value of boolean. 00052 00053 const string MaxMemoryUsagePolicy = "MaxMemoryUsagePolicy"; 00054 const short PurgeEvents = 0; 00055 const short RejectEvents = 1; 00056 const short DiscardEvents = 2; 00057 00058 // MemoryCheckInterval takes a value of type ulonglong. 00059 const string MemoryCheckInterval = "MemoryCheckInterval"; 00060 00061 // MemoryTargetMargin takes a value of type ulonglong. 00062 const string MemoryTargetMargin = "MemoryTargetMargin"; 00063 00064 // MemoryMaxRecoveryAttempts takes a value of type long. 00065 const string MemoryMaxRecoveryAttempts = "MemoryMaxRecoveryAttempts"; 00066 00067 // MemoryEscalationExponent takes a value of type long. 00068 const string MemoryEscalationExponent = "MemoryEscalationExponent"; 00069 00070 const string ConnectedClient = "ConnectedClient"; 00071 // ConnectedClient takes a value of type Object. 00072 00073 const string DisconnectCallback = "DisconnectCallback"; 00074 // DisconnectCallback takes a value of type boolean. 00075 00076 const string EventListenerReference = "EventListenerReference"; 00077 // EventListenerReference takes a value of type Object. 00078 00079 const string LogDiscard = "LogDiscard"; 00080 // LogDiscard take on a value of type boolean. 00081 00082 const string EventsReceived = "EventsReceived"; 00083 // EventsReceived take on a value of type long. 00084 00085 const string EventsDelivered = "EventsDelivered"; 00086 // EventsReceived take on a value of type long. 00087 00088 // Some strings identifying grammars supported by the 00089 // OpenFusion notification service. 00090 const string DefaultGrammar = "EXTENDED_TCL"; 00091 const string SQL92Grammar = "SQL92"; 00092 const string SimpleGrammar = "SimpleGrammar"; 00093 00097 interface EventListener 00098 { 00103 void push_structured_event (in CosNotification::StructuredEvent event); 00104 00109 void push_any (in any event); 00110 }; // EventListener 00111 00112 }; // NotificationExtensions 00113 00114 #endif /* OF_NOTIFICATION_IDL */
![]()