2000 2011 Ericsson AB, All Rights Reserved The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. CosTimerEvent_­TimerEventService ..._TimerEventService Niclas Eklund Niclas Eklund Niclas Eklund 2000-02-01 1.0
CosTimerEvent_TimerEventService This module implements the OMG CosTimerEvent::TimerEventService interface.

To get access to the record definitions for the structures use:

-include_lib("cosTime/include/*.hrl").

register(TimerEventService, CosEventCommPushConsumer, Data) -> TimerEventHandler Create a new TimerEventHandlerobject which push the givenDatato given CosEventCommPushConsumerafter the timer have been set 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 Terminate the target TimerEventHandler object TimerEventService = TimerEventHandler = #objref

This operation will terminate the given TimerEventHandler.

event_time(TimerEventService, TimerEvent) -> UTO Return a UTO containing the time at which the associated event was triggered 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.