public interface JRMIMarshaller
extends org.objectweb.jonathan.presentation.api.Marshaller
Modifier and Type | Method and Description |
---|---|
void |
writeException(Exception e)
Writes an exception thrown by a remote method invocation to an underlying
stream.
|
void |
writeMethod(Method m)
Writes the method in a remote method invocation to an underlying stream.
|
void |
writeParameters(Object[] p)
Writes the arguments in a remote method invocation to an underlying stream.
|
void |
writeResult(Object o)
Writes the result of a remote method invocation to an underlying stream.
|
close, getContext, getOffset, getState, isLittleEndian, outputStream, reset, sameContents, setOffset, write, writeBoolean, writeByte, writeByteArray, writeChar16, writeChar8, writeDouble, writeFloat, writeInt, writeLong, writeReference, writeShort, writeString16, writeString8, writeValue
void writeMethod(Method m) throws MarshalException
m
- the method to be written.MarshalException
- if something goes wrong.void writeParameters(Object[] p) throws MarshalException
p
- the objects representing the arguments.MarshalException
- if something goes wrong.void writeResult(Object o) throws MarshalException
o
- the object representing the result.MarshalException
- if something goes wrong.void writeException(Exception e) throws MarshalException
e
- the thrown exception.MarshalException
- if something goes wrong.