DX NetOps

Expand all | Collapse all

How to access a model's Attributes via Corba?

  • 1.  How to access a model's Attributes via Corba?

    Posted 10-14-2014 07:46 PM

    I would like to use the Corba interface to collect some attributes from some models.

     

    I found an example of how to do this:

    Integer modelID = Integer.decode(args[0]);

    Integer attrID = Integer.decode(args[1]);
    CsCModel m = md.getModel(modelID.intValue());

    CsCValue v = m.readAttrValue(

    attrID.intValue(),

      CsCAttrReadMode_e.CSC_MOST_CURRENT);

    writer.printAll(v);

     

    However, I can't find the package that has CsCModel in it.  And upon further googling, I found something that said CsCModel was removed after version 9.0.

     

    Is it still possible to retrieve attribute values from Models?

     

    Thanks,

      -Jon



  • 2.  Re: How to access a model's Attributes via Corba?

    Broadcom Employee
    Posted 10-14-2014 08:54 PM

    Hi Jon,

     

    What about this guide?

    SPECTRUM® Development API Reference Guide (5010)  r9.0

    http://ehealth-spectrum.ca.com/support/secure/products/Spectrum_Doc/spec900/5010.pdf

     

    Thanks,

    Silvio



  • 3.  Re: How to access a model's Attributes via Corba?

    Posted 10-15-2014 09:36 AM

    That's helpful - thanks!  I guess my question should have been - is there a full documentation of the API?  Like a set of class references for all the libraries?  This document is a bunch of examples, but a full API reference would be more helpful I think.