public interface ObjectEndpoint
ObjectEndpoint instance contains the information
necessary to identify the remote object and to send requests to the
newCall method can be used to send a
request to the remote object that this object references.
|Modifier and Type||Method and Description|
Synchronously executes a remote call in progress to the identified remote object, so that the response can be read.
OutboundRequestIterator newCall(InvocationConstraints constraints)
OutboundRequestIteratorto use to send a new remote call to the referenced remote object using the specified constraints.
The constraints must be the complete, absolute constraints for the remote call, combining any client and server constraints for the remote method being invoked, with no relative time constraints.
constraints- the complete, absolute constraints
OutboundRequestIteratorto use to send a new remote call to the referenced remote object
RemoteException executeCall(OutboundRequest call) throws IOException
This method should be passed an
that was produced by an
returned from this object's
This method must be invoked after writing the request data to
and before reading any response data from the
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-
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
other communication failures.
call- the remote call to execute, produced by an
OutboundRequestIteratorthat was returned from
nullon success, or a
RemoteExceptionif the remote call should fail with that
IOException- if an I/O exception occurs while performing this operation
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.