Forum Discussion

jamesnovak_1275's avatar
jamesnovak_1275
Icon for Nimbostratus rankNimbostratus
Jul 16, 2004

set_state() method, synchronous or asynchronous?

F5 Networks product : BIG IP, 520 - iControl

 

 

· Version of the product : 4.5 PTF-03 Build 2

 

 

we have a .NET application, making SOAP calls to the iControl components...

 

 

when i make the set_state() method call to the node, is the call synchronous or asynchronous? so can i rely on the state being changed immediately after the set_state() method call, or do i have to wait for a short period, checking the status?

 

 

i noticed that the SOAP wrapper classes had the async methods, but they were not listed in the SDK documentation, so i am assuming those are standard methods generated by the Microsoft.VSDesigner tool.

 

 

Jim Novak

 

Software Engineer

 

jnovak@visicu.com
  • bknotwell_12713's avatar
    bknotwell_12713
    Historic F5 Account
    On almost all* the methods, things are done synchronously. That is, a message is written to the configuration system that updates the status and you're returned the status of this update.

     

     

    *things that might be "race-condition-ish": failover (the WSDL states this explicitly) and adding or deleting a proxy (though we possibly wait for proxyd to restart before returning, I don't know for sure; it would generally be a race you'd win everytime unless there are scads of proxies).
  • awesome. thanks for the info. i wanted to avoid having to loop and check the status, sound like is should be fine.

     

     

    Jim Novak