~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/cosTime/doc/src/CosTimerEvent_TimerEventService.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090215164252-dxpjjuq108nz4noa
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="latin1" ?>
 
2
<!DOCTYPE erlref SYSTEM "erlref.dtd">
 
3
 
 
4
<erlref>
 
5
  <header>
 
6
    <copyright>
 
7
      <year>2000</year>
 
8
      <year>2007</year>
 
9
      <holder>Ericsson AB, All Rights Reserved</holder>
 
10
    </copyright>
 
11
    <legalnotice>
 
12
  The contents of this file are subject to the Erlang Public License,
 
13
  Version 1.1, (the "License"); you may not use this file except in
 
14
  compliance with the License. You should have received a copy of the
 
15
  Erlang Public License along with this software. If not, it can be
 
16
  retrieved online at http://www.erlang.org/.
 
17
 
 
18
  Software distributed under the License is distributed on an "AS IS"
 
19
  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
20
  the License for the specific language governing rights and limitations
 
21
  under the License.
 
22
 
 
23
  The Initial Developer of the Original Code is Ericsson AB.
 
24
    </legalnotice>
 
25
 
 
26
    <title>CosTimerEvent_&shy;TimerEventService</title>
 
27
    <shorttitle>..._TimerEventService</shorttitle>
 
28
    <prepared>Niclas Eklund</prepared>
 
29
    <responsible>Niclas Eklund</responsible>
 
30
    <docno></docno>
 
31
    <approved>Niclas Eklund</approved>
 
32
    <checked></checked>
 
33
    <date>2000-02-01</date>
 
34
    <rev>1.0</rev>
 
35
  </header>
 
36
  <module>CosTimerEvent_TimerEventService</module>
 
37
  <modulesummary>This module implements the OMG CosTimerEvent::TimerEventService interface.</modulesummary>
 
38
  <description>
 
39
    <p>To get access to the record definitions for the structures use:      <br></br>
 
40
<c>-include_lib("cosTime/include/*.hrl").</c></p>
 
41
  </description>
 
42
  <funcs>
 
43
    <func>
 
44
      <name>register(TimerEventService, CosEventCommPushConsumer, Data) -> TimerEventHandler</name>
 
45
      <fsummary>Create a new <c>TimerEventHandler</c>object which push the given<c>Data</c>to given <c>CosEventCommPushConsumer</c>after the timer have been set</fsummary>
 
46
      <type>
 
47
        <v>TimerEventService = CosEventCommPushConsumer = TimerEventHandler = #objref</v>
 
48
        <v>Data = #any</v>
 
49
      </type>
 
50
      <desc>
 
51
        <p>This operation will create a new <c>TimerEventHandler</c> object which
 
52
          will push given <c>Data</c> to given <c>CosEventCommPushConsumer</c> after
 
53
          the timer have been set.</p>
 
54
      </desc>
 
55
    </func>
 
56
    <func>
 
57
      <name>unregister(TimerEventService, TimerEventHandler) -> ok</name>
 
58
      <fsummary>Terminate the target TimerEventHandler object</fsummary>
 
59
      <type>
 
60
        <v>TimerEventService = TimerEventHandler = #objref</v>
 
61
      </type>
 
62
      <desc>
 
63
        <p>This operation will terminate the given TimerEventHandler.</p>
 
64
      </desc>
 
65
    </func>
 
66
    <func>
 
67
      <name>event_time(TimerEventService, TimerEvent) -> UTO</name>
 
68
      <fsummary>Return a UTO containing the time at which the associated event was triggered</fsummary>
 
69
      <type>
 
70
        <v>TimerEventService = #objref</v>
 
71
        <v>TimerEvent = #'CosTimerEvent_TimerEvent'{utc, event_data}</v>
 
72
        <v>utc = </v>
 
73
        <v>event_data = #any}</v>
 
74
        <v>UTO = #objref</v>
 
75
      </type>
 
76
      <desc>
 
77
        <p>This operation returns a UTO containing the time at which the associated
 
78
          event was triggered.</p>
 
79
      </desc>
 
80
    </func>
 
81
  </funcs>
 
82
  
 
83
</erlref>
 
84