cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
563
Views
0
Helpful
1
Replies

about PRE-LOCK-CREATE

GBiscardi
Level 1
Level 1

Hi all,

I need some help to implement a PRE-LOCK-CREATE method in a java NSO service package. Where can I find example code in Java? How can I manage PRE-LOCK-CREATE together with  CREATE in a service callback in java?

Every suggestions are welcome,

thanks.

 

Giuliana  

1 Reply 1

hhyq1975
Cisco Employee
Cisco Employee

I tried to add both in same service point , but I got error messages .

 

  File "/home/test/ncs-5.3.1.2/src/ncs/pyapi/ncs/application.py", line 340, in __init__

    _ncs.dp.register_service_cb(ctx, servicepoint, self)

_ncs.error.Error: Bad protocol usage or unexpected retval (21): Cannot register both pre_lock_create() and create() callbacks