3(2005-06-09)

πŸ“¦
version 2.2.9~rc1 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– CMCIClientFT.invokeMethod() β€” the "hey bestie, run that method" page πŸ’–

okay so this is section 3 of the manual, dated 2005-06-09, and it's all about calling a named method on an instance. sit with me, we're gonna get through it together 🫢


✨ NAME ✨

CMCIClientFT.invokeMethod() β€” Invoke a named method of an instance πŸ’…


✨ SYNOPSIS ✨

#include <cmci.h>

CMPIEnumeration*
CMCIClientFT.invokeMethod(CMCIClient*cl,
               CMPIObjectPath*op,
               constchar*method,
               CMPIArgs*in,
               CMPIArgs*out,
               CMPIStatus*rc);

like. look at her. six arguments. she's serving ✨


✨ DESCRIPTION ✨

So what you're doing here is invoking a named method of an instance, and that instance is defined by the op reference. Simple as that, no cap. πŸ¦‹

Let's do a lil roll call of the arguments, because there are six of them and we are not skipping anybody:

  • the client object pointer, cl
  • an ObjectPath object pointer, op, and she's carrying the reference with the namespace and classname components in it
  • method, a pointer to the string that identifies the class method πŸ‘‘
  • in, a pointer to the input arguments
  • out, a pointer to the output parameters
  • rc, which returns the operation status β€” and btw she gets suppressed when NULL πŸ™ˆ

✨ RETURN VALUE ✨

When it slays (successful): the CMCIClientFT.invokeMethod() function returns the CMPIData value that the invoked method handed back, and it sets a successful operation status code in rc. πŸ”₯

When it does not slay (unsuccessful): it returns a NULL pointer, and it sets the operation status error code plus the corresponding error string in rc. πŸ’€


✨ ERRORS ✨

Not a single thing listed here. it's giving empty. it's giving silence. moving on πŸŽ€


✨ EXAMPLES ✨

Also empty bestie, nothing to show you. iconic of her honestly πŸ’œ


✨ CONFORMING TO ✨

Also blank. yes, really. we respect the mystery 🧚


✨ SEE ALSO ✨


and that's the whole page, you ate it, periodt βœ¨πŸ’–

courtesy of the SFCBroker Client Library, brought to you by sfcc, stamped 3(2005-06-09). go forth and invoke, bestie πŸŒΈπŸ¦‹πŸ’