CosTransactions_Control(3)
β¨ CosTransactions_Control β¨
okay bestie, so this is the Erlang module page for CosTransactions_Control π
it's a C(3)-style manual page, and it lives in the cosTransactions world, so let's get into it π
πΈ NAME πΈ
CosTransactions_Control β no cap, this module implements the OMG</> CosTransactions::Control interface. that's the whole vibe π
π¦ DESCRIPTION π¦
so like, before you do literally anything, if you wanna get access to the record definitions for the structures, you gotta do this:
-include_lib("cosTransactions/include/CosTransactions.hrl").
that's it. that's the whole step. do it or the records won't exist for you, periodt π
π EXPORTS π
π get_coordinator(Control) -> Return
Types:
Control = #objref
Return = Coordinator | {'EXCEPTION', E}
Coordinator = #objref
E = #'CosTransactions_Unavailable' {}
okay so this operation returns the Coordinator object that's associated with the target object π«Ά and the tea is: the Coordinator supports operations for termination of a transaction. that's its whole job, its main character moment π₯
ngl, if it can't do the thing you get an'EXCEPTION'carrying a#'CosTransactions_Unavailable' {}back at you π
β get_terminator(Control) -> Return
Types:
Control = #objref
Return = Terminator | {'EXCEPTION', E}
Terminator = #objref
E = #'CosTransactions_Unavailable' {}
and this one? this one returns the Terminator object associated with the target object β¨ same energy as above, different object β the Terminator also supports operations for termination of a transaction π literally its entire personality.
and yeah, same warning as before: failure comes back as'EXCEPTION'with a#'CosTransactions_Unavailable' {}π
π§ sign-off π§
so this lil page was brought to you by Ericsson AB π from cosTransactions version 5.2.2, and it's literally titled CosTransactions_Control(3). that's the version, that's the source, that's the date situation β mwah, slay, go terminate some transactions responsibly, bestie ππ
π¦ where this page comes from
- fedora 43: erlang-cosTransactions 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosTransactions 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