|
Oracle Application Server Wireless J2ME SDK API Reference B14045-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.wireless.me.core.Call
The Call object is used for making remote procedure calls of web services and for obtaining a return object from such calls.
Method Summary | |
java.lang.String |
getOperationName() Get the name of remote procedure call that this Call object invokes on a web service. |
java.util.Vector |
getParameters() Get the parameters sent to the method of this Call |
Response |
getResponse() Gets the object returned from the remote procedure call if and only if the response was cached (responses from queued calls are always cached, except if the response is null (the remote method returned null or has a return type of void)). |
Service |
getService() Get the associated Service Object |
Response |
invoke(java.util.Vector parameters, boolean forceRefresh) Invokes the Call, which will make a remote procedure call to a service handler object on the iAS Wireless server, and returns a Response object. |
void |
setParameters(java.util.Vector parameters) This method is only useful if you want to queue a call for later invokation (using ServiceManager.queueCall) WITHOUT calling Call.invoke first. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Service getService()
public java.lang.String getOperationName()
public java.util.Vector getParameters()
public void setParameters(java.util.Vector parameters)
public Response invoke(java.util.Vector parameters, boolean forceRefresh) throws ServiceException
parameters
- Vector of input parameters for the remote procedure callforceRefresh
- boolean true to invoke call remotely even if a response to this call is already in the local cacheServiceException
public Response getResponse()
|
Oracle Application Server Wireless J2ME SDK API Reference B14045-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |