|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.iiop.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.
Constructor Summary | |
SkeletonStrategy(java.lang.reflect.Method m)
|
Method Summary | |
java.lang.reflect.Method |
getMethod()
Returns this SkeletonStrategy 's method. |
boolean |
isNonVoid()
Returns true if this SkeletonStrategy 's method
is non void. |
java.lang.Object[] |
readParams(org.omg.CORBA_2_3.portable.InputStream in)
Unmarshals the sequence of method parameters from an input stream. |
void |
writeException(org.omg.CORBA_2_3.portable.OutputStream out,
java.lang.Exception e)
Marshals into an output stream an exception thrown by the method. |
void |
writeRetval(org.omg.CORBA_2_3.portable.OutputStream out,
java.lang.Object retVal)
Marshals into an output stream the return value of the method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SkeletonStrategy(java.lang.reflect.Method m)
Method Detail |
public java.lang.Object[] readParams(org.omg.CORBA_2_3.portable.InputStream in)
in
- a CDR input stream
public java.lang.reflect.Method getMethod()
SkeletonStrategy
's method.
public boolean isNonVoid()
SkeletonStrategy
's method
is non void.
public void writeRetval(org.omg.CORBA_2_3.portable.OutputStream out, java.lang.Object retVal)
out
- a CDR output streamretVal
- the value to be written.public void writeException(org.omg.CORBA_2_3.portable.OutputStream out, java.lang.Exception e)
out
- a CDR output streame
- the exception to be written.
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |