org.objectweb.jeremie.presentation.api
Interface JRMIUnMarshaller
- UnMarshaller
- StdMarshallerFactory.StdUnMarshaller, StdMarshallerFactory.StdUnMarshallerD
public interface JRMIUnMarshaller
extends UnMarshaller
A JRMIUnMarshaller provides a high-level encoding-independent interface
for unmarshalling remote method invocations.
Exception | readException() - Reads an exception thrown by a remote method invocation from an underlying
stream.
|
Method | readMethod(Class c) - Reads a method from an underlying stream.
|
Object[] | readParameters() - Reads the arguments in a remote method invocation from an underlying stream.
|
Object | readResult() - Reads the result of a remote method invocation from an underlying stream.
|
readException
public Exception readException()
throws UnmarshalException
Reads an exception thrown by a remote method invocation from an underlying
stream.
- the thrown exception.
readMethod
public Method readMethod(Class c)
throws UnmarshalException
Reads a method from an underlying stream.
c
- a class that declares the method.
- the method read.
readParameters
public Object[] readParameters()
throws UnmarshalException
Reads the arguments in a remote method invocation from an underlying stream.
- the objects representing the arguments.
readResult
public Object readResult()
throws UnmarshalException
Reads the result of a remote method invocation from an underlying stream.
- the object representing the result.