nv-l
[Top] [All Lists]

Question regarding prg_samples/ovw_examples/app7/seven.c

To: nv-l@lists.tivoli.com
Subject: Question regarding prg_samples/ovw_examples/app7/seven.c
From: "Allison, Jason (JALLISON)" <JALLISON@arinc.com>
Date: Wed, 5 Dec 2001 15:15:40 -0500
The goal of example app7 is "This is a sample map application that discovers
the nfs clients served by a system".  My question is regarding OVw internal
"destroying" of symbols and submaps created via this application.

-- snip
if ((submapId = OVwCreateSubmap (map, compObjInfo->object_id,
                                   ovwSharedSubmap,
                                   ovwNoSubmapType, submapname,
                                   ovwStarLayout, 0))
                == ovwNullSubmapId) {
-- end snip

-- snip
OVwCreateSymbol (map, submapId, sysObjInfo->object_id,
                                         "Computer:Workstation", host,
                                         ovwUnknownStatus,
                                         ovwSymbolStatusSource,
                                         center_pos, ovwNoSymbolFlags)
-- end snip

My question(s) is:

- When an operator takes the action to close a map (submap), are the symbols
created by this app (as well as the submap) deleted from the OVw db?  If so,
how and when?

- If I want to create a submap and symbols, what are the "best practices"
for cleanup?  The routine for this is OVwDeleteSubmap and OVwDeleteSymbol.
Where do the deletes get hooked in?


Thanks,


Jason Allison
ARINC Corporation


<Prev in Thread] Current Thread [Next in Thread>
  • Question regarding prg_samples/ovw_examples/app7/seven.c, Allison, Jason (JALLISON) <=

Archive operated by Skills 1st Ltd

See also: The NetView Web