~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/3rdparty/qidl/CosEventComm.idl

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// **********************************************************************
 
2
//
 
3
// Copyright (c) 1998
 
4
// Object-Oriented Concepts, Inc.
 
5
// Billerica, MA, USA
 
6
//
 
7
// Copyright (c) 1998
 
8
// Object-Oriented Concepts GmbH
 
9
// Ettlingen, Germany
 
10
//
 
11
// All Rights Reserved
 
12
//
 
13
// **********************************************************************
 
14
 
 
15
#ifndef CosEventComm_idl
 
16
#define CosEventComm_idl
 
17
 
 
18
#pragma prefix "omg.org"
 
19
 
 
20
module CosEventComm
 
21
{
 
22
 
 
23
exception Disconnected {};
 
24
 
 
25
interface PushConsumer
 
26
{
 
27
    void push(in any data)
 
28
        raises(Disconnected);
 
29
 
 
30
    void disconnect_push_consumer();
 
31
};
 
32
 
 
33
interface PushSupplier
 
34
{
 
35
    void disconnect_push_supplier();
 
36
};
 
37
 
 
38
interface PullSupplier
 
39
{
 
40
    any pull()
 
41
        raises(Disconnected);
 
42
 
 
43
    any try_pull(out boolean has_event)
 
44
        raises(Disconnected);
 
45
 
 
46
    void disconnect_pull_supplier();
 
47
};
 
48
 
 
49
interface PullConsumer
 
50
{
 
51
    void disconnect_pull_consumer();
 
52
};
 
53
 
 
54
};
 
55
 
 
56
#endif // CosEventComm_idl