You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by "Sachdeva, Pushkar K" <Pu...@ca.com> on 2006/03/27 10:42:32 UTC
Get an updated resource property through custom operation
Hi all,
I have defined a resource property "TCPConnect" which is initialized to
TRUE if connection to device exists otherwise FALSE. I have also defined
a custom operation "GetConnection" that checks the TCP connection of the
device and updates the "TCPConnect" property accordingly.
To get the correct(updated) value of the property "TCPConnect" currently
I am first sending the "GetConnection" request and then the
"GetReourceProperty" request.So it is a two step process... .
Can I get the updated "TCPConnect" property value through only one
request that is through "GetConnection" (i.e. in the response of
"GetConnection" I want the value of "TCPConnect" resource property) ??
Also, are these client requests processed asynchronously or
synchronously ??
-Regards
Pushkar