Class DynamicMethodMarshallerImpl
java.lang.Object
com.sun.corba.se.impl.presentation.rmi.DynamicMethodMarshallerImpl
- All Implemented Interfaces:
DynamicMethodMarshaller
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[]copyArguments(Object[] args, ORB orb) Copy the arguments as needed for this particular method.copyResult(Object result, ORB orb) Copy the result as needed for this particular method.Returns the method used to create this DynamicMethodMarshaller.booleanReturns true iff thr's class is a declared exception (or a subclass of a declared exception) for this DynamicMethodMarshaller's method.makeReaderWriter(Class cls) Object[]Read the arguments for this method from the InputStream.Reads an exception ID and the corresponding exception from the input stream.Read the result from the InputStream.voidwriteArguments(OutputStream os, Object[] args) Write arguments for this method to the OutputStream.voidwriteException(OutputStream os, Exception ex) Write the repository ID of the exception and the value of the exception to the OutputStream.voidwriteResult(OutputStream os, Object result) Write the result to the OutputStream.
-
Constructor Details
-
DynamicMethodMarshallerImpl
-
-
Method Details
-
makeReaderWriter
-
getMethod
Description copied from interface:DynamicMethodMarshallerReturns the method used to create this DynamicMethodMarshaller.- Specified by:
getMethodin interfaceDynamicMethodMarshaller
-
copyArguments
Description copied from interface:DynamicMethodMarshallerCopy the arguments as needed for this particular method. Can be optimized so that as little copying as possible is performed.- Specified by:
copyArgumentsin interfaceDynamicMethodMarshaller- Throws:
RemoteException
-
readArguments
Description copied from interface:DynamicMethodMarshallerRead the arguments for this method from the InputStream. Returns null if there are no arguments.- Specified by:
readArgumentsin interfaceDynamicMethodMarshaller
-
writeArguments
Description copied from interface:DynamicMethodMarshallerWrite arguments for this method to the OutputStream. Does nothing if there are no arguments.- Specified by:
writeArgumentsin interfaceDynamicMethodMarshaller
-
copyResult
Description copied from interface:DynamicMethodMarshallerCopy the result as needed for this particular method. Can be optimized so that as little copying as possible is performed.- Specified by:
copyResultin interfaceDynamicMethodMarshaller- Throws:
RemoteException
-
readResult
Description copied from interface:DynamicMethodMarshallerRead the result from the InputStream. Returns null if the result type is null.- Specified by:
readResultin interfaceDynamicMethodMarshaller
-
writeResult
Description copied from interface:DynamicMethodMarshallerWrite the result to the OutputStream. Does nothing if the result type is null.- Specified by:
writeResultin interfaceDynamicMethodMarshaller
-
isDeclaredException
Description copied from interface:DynamicMethodMarshallerReturns true iff thr's class is a declared exception (or a subclass of a declared exception) for this DynamicMethodMarshaller's method.- Specified by:
isDeclaredExceptionin interfaceDynamicMethodMarshaller
-
writeException
Description copied from interface:DynamicMethodMarshallerWrite the repository ID of the exception and the value of the exception to the OutputStream. ex should be a declared exception for this DynamicMethodMarshaller's method.- Specified by:
writeExceptionin interfaceDynamicMethodMarshaller
-
readException
Description copied from interface:DynamicMethodMarshallerReads an exception ID and the corresponding exception from the input stream. This should be an exception declared in this method.- Specified by:
readExceptionin interfaceDynamicMethodMarshaller
-