message annotations via jopcsrvapi

Hello,

 

is there way, howto get annotations related to message using jopcsrvapi in HPOM 9.x ?

 

Thx,

R

Parents
  • Hello.

     

    I assume you mean HP OMU and there's no API for it (there's a C variant only).

     

    Regards,

        Goran

  • @Goran

     

    thx for reply, for a while i was hoping for something like:

                        JOpcServerMessage message = new JOpcServerMessage(conn);
                        message.setMsgid("7dc34034-d3c7-71e4-03f2-c31c67f50000");
                        message.get();
                        message.getString(JOpcApiDefinition.OPCDATA_ANNOTATION);

    but it is not returning anyting....

     

    since description of getString function says: function ...opcdata_get_str() returns a pointer to the desired string value...

     

    but probably in java api OPCDTYPE_ANNOTATION data structure just isn't propagated...

     

Reply
  • @Goran

     

    thx for reply, for a while i was hoping for something like:

                        JOpcServerMessage message = new JOpcServerMessage(conn);
                        message.setMsgid("7dc34034-d3c7-71e4-03f2-c31c67f50000");
                        message.get();
                        message.getString(JOpcApiDefinition.OPCDATA_ANNOTATION);

    but it is not returning anyting....

     

    since description of getString function says: function ...opcdata_get_str() returns a pointer to the desired string value...

     

    but probably in java api OPCDTYPE_ANNOTATION data structure just isn't propagated...

     

Children