Forum Discussion
jamesnovak_1275
Nimbostratus
Jul 16, 2004set_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
2 Replies
- bknotwell_12713Historic F5 AccountOn 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). - jamesnovak_1275
Nimbostratus
awesome. thanks for the info. i wanted to avoid having to loop and check the status, sound like is should be fine.
Jim Novak
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects