WSNotif...nMessage(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… WSNotif...nMessage(3)

ok so this is a page from the User Contributed Perl Documentation collection β€” yes bestie, that abbreviation is doing the absolute most, it's giving "my name is too long for the header column" 😭 anyway. Sit down, hydrate, let's get into it πŸ“


✨ NAME ✨

WSNotification::Elements::NotificationMessage β€” say it with me, it's a mouthful, but it's literally the whole thing πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: it's a Perl data type class for the XML Schema defined element NotificationMessage, and it comes from the namespace http://docs.oasis-open.org/wsn/b-2. that's it, that's the vibe. it's the little Perl handle for that one specific XML element, no cap ✨


πŸ’… METHODS πŸ’…

🌸 new

my $element = WSNotification::Elements::NotificationMessage->new($data);

it's the constructor, bestie β€” the main character of this entire page πŸ‘‘. you hand it $data and it gives you back your element.

here's the data structure you can pass to new(), and listen, I'm gonna give it to you exactly as it is, because every tiny piece matters πŸ’–:

{ # WSNotification::Types::NotificationMessageHolderType
  SubscriptionReference =>  { # WSNotification::Types::EndpointReferenceType
    Address =>  { value => $some_value },
    ReferenceParameters =>  { # WSNotification::Types::ReferenceParametersType
    },
    Metadata =>  { # WSNotification::Types::MetadataType
    },
  },
  Topic =>  { # WSNotification::Types::TopicExpressionType
  },
  ProducerReference =>  { # WSNotification::Types::EndpointReferenceType
    Address =>  { value => $some_value },
    ReferenceParameters =>  { # WSNotification::Types::ReferenceParametersType
    },
    Metadata =>  { # WSNotification::Types::MetadataType
    },
  },
  Message =>  {
  },
},

ok notice how SubscriptionReference and ProducerReference are both EndpointReferenceType and they're identical? iconic symmetry, not a coincidence, just how the schema is built πŸ’€ and Address takes { value => $some_value } β€” that $some_value is your placeholder, don't come for me, it's literally what the page says 🫢

also ReferenceParameters, Metadata, Topic and Message are all sitting there with empty braces β€” that's the shape of the structure, they're there, they're valid, they're just not filled in on this page. no guessing from me, I'm just relaying the facts ✨


🧚 AUTHOR 🧚

Generated by SOAP::WSDL β€” yeah, it's machine-made, and honestly? it ate a little bit πŸ’…


a heads up, bestie: this page is short on purpose. everything above is everything it says β€” no extra options hiding, no secret environment variables, no exit statuses. don't go looking for lore that isn't there πŸ™ˆ

and that's the whole page, fr fr ⭐ this lil doc came to you from perl v5.42.3, dated 1980-01-01 (yes, that date, we don't question it, it's vintage 😭), and the page name is WSNotif...nMessage(3) β€” catch you on the next one, mwah πŸ’œ

πŸ“¦ where this page comes from