2000 2016 Ericsson AB, All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. CosTimerEvent_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.