CosNotific...rtiesAdmin(3)
β¨ CosNotification_AdminPropertiesAdmin β¨
okay so bestie, welcome to the Erlang module definition for CosNotification_AdminPropertiesAdmin β yes that name is a whole mouthful, i know, but stay with me π«Ά this is an Erlang module page from the cosNotification docs and it's genuinely not that deep once we get into it.
π NAME π
CosNotification_AdminPropertiesAdmin β this module implements the OMG CosNotification::AdminPropertiesAdmin interface. that's it, that's the whole vibe, it's the admin-properties plug for your notification service π
πΈ DESCRIPTION πΈ
so like, if you wanna get access to the record definitions for the structures, you do this:
-include_lib("cosNotification/include/*.hrl").
literally just drop that include in and you're golden β¨
Also, every object that inherits this interface exports the functions described in this module. no cap, all of them π
π EXPORTS π
π
get_admin(Object) -> AdminProperties
Types:
Object = #objref
AdminProperties = [AdminProperty]
AdminProperty = #'CosNotification_Property'{name, value}
name = string()
value = #any
This operation hands you back a sequence of name-value pairs that encapsulates the current administrative properties of the target object. it's giving "receipts, please" β you ask, it tells you exactly what its admin settings are right now π
π
set_admin(Object, AdminProperties) -> Reply
Types:
Object = #objref
AdminProperties = [AdminProperty]
AdminProperty = #'CosNotification_Property'{name, value}
name = string()
value = #any
Reply = ok | {'EXCEPTION', CosNotification_UnsupportedAdmin}
As input, this operation accepts a sequence of name-value pairs encapsulating the desired administrative settings for the target object. so you're like, "here's what i want you to be now" and it goes and does it πͺ
but bestie listen β if it is not possible to set the given properties, the exceptionUnsupportedAdminwill be raised. so handle that{'EXCEPTION', CosNotification_UnsupportedAdmin}reply, don't just assumeok, fr fr π
π the cute sign-off π
that's the whole page, periodt π
this little icon came to you from Ericsson AB, part of the cosNotification docs, version 5.2.2, and yes we're still on that CosNotific...rtiesAdmin(3) manual-page energy. go forth and admin your properties, you main character ππ¦
π¦ where this page comes from
- fedora 43: erlang-cosNotification 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-cosNotification 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