I came across a couple of examples in which the following code was being employed
I searched for a method called "callback" on the node of "Address" but I could not find any method inside the snappy script called "callback". Instead it had a method called "action" which was being triggered. My question is if there is a default built in method called callback on every node that a user does not have to explicitly defined in a snappy script ? If so what are the parameters that it takes ?
My normal understanding of rpc callback is this way
My question is do the parameters change if the method on remote node is "callback" ??
Code:
comm.rpc(Address,'callback','SomeMethod',"action")
My normal understanding of rpc callback is this way
Code:
comm.rpc(Address,Function_on_remote_node,parameters) parameter 1:Address of remote node parameter 2:Function to call on remote node parameter 3..:Parameters to pass to that node