| PajaxConnection.prototype.remoteCall = function ( | id, | | className, | | method, | | params, | | listener | ) |
|
Performs a remote call asynchronously or synchronously. Takes care of marshalling the paremeters.
Parameters
| id | Internal id of the object to be invoked |
| className | Class name of the object to invoke |
| method | Method to invoke |
| params | Arrays of parameters for this method |
| listener | Listener object for this class. If not present, the call is synchronous. If present, the call is asynchronous and the method on<method> is invoked on the listener object with the result of the call passed as a parameter. |
Returns
true/false if asynchronous Object returned for synchrous calls