| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteCall
RemoteCall
is an abstraction used solely by the RMI runtime
(in conjunction with stubs and skeletons of remote objects) to carry out a
call to a remote object. The RemoteCall
interface is
deprecated because it is only used by deprecated methods of
java.rmi.server.RemoteRef
.
Method Summary | |
---|---|
void |
done() Allow cleanup after the remote call has completed. |
void |
Do whatever it takes to execute the call. |
ObjectInput |
Get the InputStream that the stub/skeleton should get results/arguments from. |
ObjectOutput |
Return the output stream the stub/skeleton should put arguments/results into. |
ObjectOutput |
getResultStream(boolean success) Returns an output stream (may put out header information relating to the success of the call). |
void |
Release the input stream. |
void |
Release the output stream; in some transports this would release the stream. |
Method Detail |
---|
public void done() throws IOException
IOException
- if an I/O error occurs.public void executeCall() throws Exception
Exception
- if a general exception occurs.public ObjectInput getInputStream() throws IOException
IOException
- if an I/O error occurs.public ObjectOutput getOutputStream() throws IOException
IOException
- if an I/O error occurs.public ObjectOutput getResultStream(boolean success) throws IOException, StreamCorruptedException
success
- If true, indicates normal return, else indicates
exceptional return.IOException
- if an I/O error occurs.StreamCorruptedException
- If already been called.public void releaseInputStream() throws IOException
IOException
- if an I/O error occurs.public void releaseOutputStream() throws IOException
IOException
- if an I/O error occurs.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |