public interface DynamicMethodMarshaller
Modifier and Type | Method and Description |
---|---|
Object[] |
copyArguments(Object[] args,
ORB orb)
Copy the arguments as needed for this particular method.
|
Object |
copyResult(Object result,
ORB orb)
Copy the result as needed for this particular method.
|
Method |
getMethod()
Returns the method used to create this DynamicMethodMarshaller.
|
boolean |
isDeclaredException(Throwable thr)
Returns true iff thr's class is a declared exception (or a subclass of
a declared exception) for this DynamicMethodMarshaller's method.
|
Object[] |
readArguments(InputStream is)
Read the arguments for this method from the InputStream.
|
Exception |
readException(ApplicationException ae)
Reads an exception ID and the corresponding exception from
the input stream.
|
Object |
readResult(InputStream is)
Read the result from the InputStream.
|
void |
writeArguments(OutputStream os,
Object[] args)
Write arguments for this method to the OutputStream.
|
void |
writeException(OutputStream os,
Exception ex)
Write the repository ID of the exception and the value of the
exception to the OutputStream.
|
void |
writeResult(OutputStream os,
Object result)
Write the result to the OutputStream.
|
Method getMethod()
Object[] copyArguments(Object[] args, ORB orb) throws RemoteException
RemoteException
Object[] readArguments(InputStream is)
void writeArguments(OutputStream os, Object[] args)
Object copyResult(Object result, ORB orb) throws RemoteException
RemoteException
Object readResult(InputStream is)
void writeResult(OutputStream os, Object result)
boolean isDeclaredException(Throwable thr)
void writeException(OutputStream os, Exception ex)
Exception readException(ApplicationException ae)
Copyright © 2021 JBoss by Red Hat. All rights reserved.