Class SkeletonStrategy
java.lang.Object
org.wildfly.iiop.openjdk.rmi.marshal.strategy.SkeletonStrategy
A
SkeletonStrategy for a given method knows how to
unmarshalthe sequence of method parameters from a CDR input stream, how to
marshal into a CDR output stream the return value of the method, and how to
marshal into a CDR output stream any exception thrown by the method.- Version:
- $Revision: 81018 $
- Author:
- Francisco Reverbel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns thisSkeletonStrategy's method.booleanReturns true if thisSkeletonStrategy's method is non void.Object[]readParams(org.omg.CORBA_2_3.portable.InputStream in) Unmarshals the sequence of method parameters from an input stream.voidwriteException(org.omg.CORBA_2_3.portable.OutputStream out, Throwable e) Marshals into an output stream an exception thrown by the method.voidwriteRetval(org.omg.CORBA_2_3.portable.OutputStream out, Object retVal) Marshals into an output stream the return value of the method.
-
Constructor Details
-
SkeletonStrategy
-
-
Method Details
-
readParams
Unmarshals the sequence of method parameters from an input stream.- Parameters:
in- a CDR input stream- Returns:
- an object array with the parameters.
-
getMethod
Returns thisSkeletonStrategy's method. -
isNonVoid
public boolean isNonVoid()Returns true if thisSkeletonStrategy's method is non void. -
writeRetval
Marshals into an output stream the return value of the method.- Parameters:
out- a CDR output streamretVal- the value to be written.
-
writeException
Marshals into an output stream an exception thrown by the method.- Parameters:
out- a CDR output streame- the exception to be written.
-