Lines Matching defs:call

62      * Client-side call log.
65 Log.getLog("sun.rmi.client.call", "RMI",
105 * throws a RemoteException if the call failed or an
130 RemoteCall call = null;
133 /* If the call connection is "reused" early, remember not to
143 // create call context
144 call = new StreamRemoteCall(conn, ref.getObjID(), -1, opnum);
148 ObjectOutput out = call.getOutputStream();
161 call.executeCall();
167 ObjectInput in = call.getInputStream();
171 * connection before the dirty call is sent for
184 /* Free the call's connection early. */
200 call.done();
217 * corrupted the call connection and those from the server
219 * from the server the call connection should be reused.
221 if ((call == null) ||
222 (((StreamRemoteCall) call).getServerException() != e))
230 * Some failure during call; assume connection cannot
330 * Create an appropriate call object for a new call on this object.
333 * may need the operation to encode in for the call.
343 clientRefLog.log(Log.VERBOSE, "create call context");
345 /* log information about the outgoing call */
350 RemoteCall call =
353 marshalCustomCallData(call.getOutputStream());
356 "custom call data");
358 return call;
366 * Invoke makes the remote call present in the RemoteCall object.
374 public void invoke(RemoteCall call) throws Exception {
376 clientRefLog.log(Log.VERBOSE, "execute call");
378 call.executeCall();
385 free(call, false);
393 free(call, false);
403 free(call, false);
412 free(call, true);
421 * by a call to the "done" method.
428 private void free(RemoteCall call, boolean reuse) throws RemoteException {
429 Connection conn = ((StreamRemoteCall)call).getConnection();
438 public void done(RemoteCall call) throws RemoteException {
440 /* Done only uses the connection inside the call to obtain the
446 /* Free the call connection early. */
447 free(call, true);
450 call.done();
461 * Log the details of an outgoing call. The method parameter is either of
465 clientCallLog.log(Log.VERBOSE, "outbound call: " +