DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
DMI 2.0 code samples

Registering and filtering indications

When the indcons management application runs, it performs the following tasks:

  1. it sets indication callbacks to the managed machine defined in defAddr.txt

  2. it invokes the DMIIndicationListen function to listen for indications generated by events on the managed machine

  3. it gets details of the indications to register for (subscribe to) by parsing the input file defined in the command line

  4. it displays incoming indications data on the screen (or to the output file defined in the command line)
The sample input file, indcons.inp, provided in the indcons directory illustrates how subscriber, subscription and filter information can be defined.

Alternative input files can be created using the following format:

  listen:
  RPC type transport type
  subscription:
  Subscriber RPC type
  Subscriber transport type
  Subscriber addressing
  Subscriber ID
  Subscription expiration notice time
  Subscription expiration time
  Indication threshhold failure
  filter:
  Subscriber RPC type
  Subscriber transport type
  Subscriber addressing
  Subscriber ID
  Component ID
  Group class string
  Event severity

Next topic: Subscription Timeouts
Previous topic: Generating and consuming indications

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004