HP-UX SNAplus2 MS Programmer's Guide

Introduction to Management Services
Management Services Applications
Chapter 126
The REGISTER_MS_APPLICATION verb registers the
application with SNAplus2 as an MDS-level application that can
accept MDS_MUs. An option on the verb enables the application
to request information about the focal point for a particular MS
category. SNAplus2 uses the MDS_MU_RECEIVED indication,
the FP_NOTIFICATION indication, or both, to pass the required
data to the application.
The REGISTER_NMVT_APPLICATION verb registers the
application with SNAplus2 in one of the following ways:
As an NMVT-level application that accepts NMVTs with a
particular MS major vector key. SNAplus2 then uses the
NMVT_RECEIVED indication to pass NMVTs to the
application.
As an MDS-level application that accepts NMVTs with a
particular MS major vector key after they have been
converted to MDS_MUs. SNAplus2 converts the received
NMVTs to MDS_MUs and uses the MDS_MU_RECEIVED
indication to pass the MDS_MUs to the application. This
usage allows an MDS-level application to receive NMVT-level
data and status indications without having to understand
NMVT-level data formats.
When the application registers with SNAplus2, it supplies the
address of a callback routine. SNAplus2 calls this callback
routine when data of the requested type arrives at the node. For
more information about the data structures that SNAplus2
supplies to the callback routine, see Chapter 4, “Management
Services Indications.
3. After registering itself, the application can do any of the following:
Send data to the SNAplus2 node using either or both of the
following verbs:
The SEND_MDS_MU verb supplies data in MDS_MU
format, which SNAplus2 sends to a remote MS application.
The TRANSFER_MS_DATA verb supplies data in NMVT
format, which SNAplus2 sends to a remote MS application.
The data can be either a complete NMVT or subvectors to
which SNAplus2 adds the required NMVT header
information.