---
name: "CosTimerEvent_TimerEventService"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:19.2.1+dfsg-2+deb9u3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/CosTimerEvent_TimerEventService"
---

# CosTimerEvent\_TimerEventService(3erl)

This module implements the OMG CosTimerEvent::TimerEventService interface.

## NAME

CosTimerEvent\_TimerEventService - This module implements the OMG CosTimerEvent::TimerEventService interface.

## DESCRIPTION

To get access to the record definitions for the structures use: \
 *-include\_lib("cosTime/include/\*.hrl").*

## EXPORTS

**register(TimerEventService, CosEventCommPushConsumer, Data) -\> TimerEventHandler**\

Types:

TimerEventService = CosEventCommPushConsumer = TimerEventHandler = #objref\
 Data = #any\

This operation will create a new *TimerEventHandler* object which will push given *Data* to given *CosEventCommPushConsumer* after the timer have been set.

**unregister(TimerEventService, TimerEventHandler) -\> ok**\

Types:

TimerEventService = TimerEventHandler = #objref\

This operation will terminate the given TimerEventHandler.

**event\_time(TimerEventService, TimerEvent) -\> UTO**\

Types:

TimerEventService = #objref\
 TimerEvent = #'CosTimerEvent\_TimerEvent'{utc, event\_data}\
 utc = \
 event\_data = #any}\
 UTO = #objref\

This operation returns a UTO containing the time at which the associated event was triggered.
