Uses of Interface
net.jini.jeri.OutboundRequest

Packages that use OutboundRequest
net.jini.jeri Provides the fundamental abstractions and standard implementation classes for Jini extensible remote invocation (Jini ERI).  
 

Uses of OutboundRequest in net.jini.jeri
 

Methods in net.jini.jeri that return OutboundRequest
 OutboundRequest OutboundRequestIterator.next()
          Initiates an attempt to communicate the request to the remote endpoint.
 

Methods in net.jini.jeri with parameters of type OutboundRequest
 RemoteException BasicObjectEndpoint.executeCall(OutboundRequest call)
          Synchronously executes a remote call in progress to the identified remote object, so that the response can be read.

This method should be passed an OutboundRequest that was produced by an OutboundRequestIterator returned from this object's newCall method. This method must be invoked after writing the request data to and before reading any response data from the OutboundRequest.

If the remote call was successfully executed (such that the response data may now be read) this method returns null. This method returns a non-null RemoteException to indicate a RemoteException that the remote call should fail with. For example, if the referenced object does not exist at the remote endpoint, a NoSuchObjectException will be returned. This method throws an IOException for other communication failures. This method reads a byte from the response input stream of call.

protected  ObjectOutputStream BasicInvocationHandler.createMarshalOutputStream(Object proxy, Method method, OutboundRequest request, Collection context)
          Returns a new ObjectOutputStream instance to use to write objects to the request output stream obtained by invoking the getRequestOutputStream method on the given request.
protected  ObjectInputStream BasicInvocationHandler.createMarshalInputStream(Object proxy, Method method, OutboundRequest request, boolean integrity, Collection context)
          Returns a new ObjectInputStream instance to use to read objects from the response input stream obtained by invoking the getResponseInputStream method on the given request.
 RemoteException ObjectEndpoint.executeCall(OutboundRequest call)
          Synchronously executes a remote call in progress to the identified remote object, so that the response can be read.
 



Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.