COSTIMEREVENT_TIMEREVENTSERVICE(3erl)
β¨ CosTimerEvent_TimerEventService β¨
okay bestie, gather round, because we're about to get into the CosTimerEvent_TimerEventService module from the cosTime manual (section 3erl, Erlang Module Definition, iykyk). π
πΈ NAME πΈ
CosTimerEvent_TimerEventService β this module implements the OMG CosTime::TimerEventService interface. that's it, that's the whole name section, slay. π
π¦ DESCRIPTION π¦
so like. if you wanna get access to the record definitions for the structures, you literally just do this:
-include_lib("cosTime/include/*.hrl").
that's the vibe. no cap. β¨
π EXPORTS π
π register(TimerEventService, CosEventCommPushConsumer, Data) -> TimerEventHandler
Types:
TimerEventService = CosEventCommPushConsumer =
TimerEventHandler = #objref
Data = #any
okay so this operation creates a brand new TimerEventHandler object π«Ά, and that object will push the given Data to the given CosEventCommPushConsumer after the timer has been set. iconic behaviour fr fr.
π unregister(TimerEventService, TimerEventHandler) -> ok
Types:
TimerEventService = TimerEventHandler = #objref
this one terminates the given TimerEventHandler. it's giving cleanup era. πβ¨
π 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 that contains the time at which the associated event was triggered. timezone girlie behaviour, lowkey obsessed. ππ
π«Ά heads up bestie: everything above is exactly what the page says, i just added sprinkles. don't come for me.
and that's the whole page!! this gorgeous little number came to you from Ericsson AB, it's cosTime version 5.2.2, and it lives in the manual as CosTimerEv...ventService(3). bye bestie, go set some timers π
πβ
π¦ where this page comes from
- fedora 43: erlang-cosTime 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosTime 1:5.2.2-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms