|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(Method m)
|
Method Summary | |
Method |
getMethod()
Returns this SkeletonStrategy 's method. |
boolean |
isNonVoid()
Returns true if this SkeletonStrategy 's method
is non void. |
Object[] |
readParams(InputStream in)
Unmarshals the sequence of method parameters from an input stream. |
void |
writeException(OutputStream out,
Exception e)
Marshals into an output stream an exception thrown by the method. |
void |
writeRetval(OutputStream out,
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(Method m)
Method Detail |
public Object[] readParams(InputStream in)
in
- a CDR input stream
public Method getMethod()
SkeletonStrategy
's method.
public boolean isNonVoid()
SkeletonStrategy
's method
is non void.
public void writeRetval(OutputStream out, Object retVal)
out
- a CDR output streamretVal
- the value to be written.public void writeException(OutputStream out, Exception e)
out
- a CDR output streame
- the exception to be written.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |