Microsoft SDK for Java

call

This method of the ObjectProxy class invokes a method on the server represented by the ObjectProxy. Optionally, method arguments may be passed as an array of objects. The call method has the following signatures:

ObjectProxy.call(String method)
ObjectProxy.call(String method, Object[] args)

call(String method)

Invokes a method on the server represented by the ObjectProxy.

Syntax

public Object ObjectProxy.call(String method);

Return Value

An object resulting from invoking the method.

Parameters

method A String containing the name of the method to invoke on the server.

call(String method, Object[] args)

Invokes a method on the server represented by the ObjectProxy, passing arguments as an array of objects.

Syntax

public Object ObjectProxy.call(String method, Object[] args);

Return Value

An object resulting from invoking the method.

Parameters

method A String containing the name of the method to invoke on the server.
args An array of objects that are arguments to the method on the server. Java data types are automatically converted to data types suitable for use on the server.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.