4
// Copyright Ericsson AB 1999-2010. All Rights Reserved.
6
// The contents of this file are subject to the Erlang Public License,
7
// Version 1.1, (the "License"); you may not use this file except in
8
// compliance with the License. You should have received a copy of the
9
// Erlang Public License along with this software. If not, it can be
10
// retrieved online at http://www.erlang.org/.
12
// Software distributed under the License is distributed on an "AS IS"
13
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
// the License for the specific language governing rights and limitations
20
#ifndef _NOTIFY_TEST_SERVER_IDL
21
#define _NOTIFY_TEST_SERVER_IDL
23
#include <CosNotification.idl>
24
#include <CosNotifyComm.idl>
28
enum action {PULL_SEQ, PULL_STR, PULL_ANY, PUSH_SEQ, PUSH_STR, PUSH_ANY};
48
union K switch(short) {
57
union uni1 switch(long) {
61
default: short defvalue;
64
union uni2 switch(long) {
71
typedef short ShortArray[4];
74
CosNotification::PropertySeq tests;
75
ShortArray monthly_attendance;
81
void doAction(in action Act);
85
interface SeqPushC : funcs, CosNotifyComm::SequencePushConsumer {
87
interface StrPushC : funcs, CosNotifyComm::StructuredPushConsumer {
89
interface AnyPushC : funcs, CosEventComm::PushConsumer {
91
interface SeqPullC : funcs, CosNotifyComm::SequencePullConsumer {
93
interface StrPullC : funcs, CosNotifyComm::StructuredPullConsumer {
95
interface AnyPullC : funcs, CosEventComm::PullConsumer {
98
interface SeqPushS : funcs, CosNotifyComm::SequencePushSupplier {
100
interface StrPushS : funcs, CosNotifyComm::StructuredPushSupplier {
102
interface AnyPushS : funcs, CosEventComm::PushSupplier {
104
interface SeqPullS : funcs, CosNotifyComm::SequencePullSupplier {
106
interface StrPullS : funcs, CosNotifyComm::StructuredPullSupplier {
108
interface AnyPullS : funcs, CosEventComm::PullSupplier {