summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/orbsvcs/RTEventLogAdmin.idl
blob: 2d2f900fae4ebb2e73f3aec32f96069e6669950d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// $Id$

// ============================================================================
//
// = FILENAME
//    RTEventLogAdmin.idl
//
// = DESCRIPTION
//    This module defines the EventLog and
//    EventLogFactory interfaces.
//
// = AUTHOR
//    D A Hanvey (d.hanvey@qub.ac.uk)
//
// ============================================================================

#ifndef RTEVENT_LOG_ADMIN_IDL
#define RTEVENT_LOG_ADMIN_IDL

#include "RtecEventChannelAdmin.idl"
// CORBA Event Service

#include "DsLogAdmin.idl"

#pragma prefix "omg.org"

module RTEventLogAdmin
{
  interface EventLog : DsLogAdmin::Log,
			RtecEventChannelAdmin::EventChannel{};

  interface EventLogFactory : DsLogAdmin::LogMgr,
			RtecEventChannelAdmin::ConsumerAdmin
  {
	EventLog create (
		in DsLogAdmin::LogFullActionType	full_action,
		in unsigned long long			max_size,
		in DsLogAdmin::CapacityAlarmThresholdList	thresholds,
		out DsLogAdmin::LogId id
	) raises (DsLogAdmin::InvalidLogFullAction,
                    DsLogAdmin::InvalidThreshold);

	EventLog create_with_id (
		in DsLogAdmin::LogId id,
		in DsLogAdmin::LogFullActionType full_action,
		in unsigned long long max_size,
		in DsLogAdmin::CapacityAlarmThresholdList thresholds
	) raises (DsLogAdmin::LogIdAlreadyExists,
                    DsLogAdmin::InvalidLogFullAction,
			  DsLogAdmin::InvalidThreshold);

	};
  
};

#endif /* RTEVENT_LOG_ADMIN_IDL */