1 7 8 package com.sun.corba.se.spi.presentation.rmi ; 9 10 import org.omg.CORBA_2_3.portable.InputStream ; 11 import org.omg.CORBA_2_3.portable.OutputStream ; 12 import org.omg.CORBA.portable.ApplicationException ; 13 14 import java.lang.reflect.Method ; 15 16 import java.rmi.RemoteException ; 17 18 import com.sun.corba.se.spi.orb.ORB ; 19 20 23 public interface DynamicMethodMarshaller 24 { 25 27 Method getMethod() ; 28 29 33 Object [] copyArguments( Object [] args, ORB orb ) throws RemoteException ; 34 35 38 Object [] readArguments( InputStream is ) ; 39 40 43 void writeArguments( OutputStream os, Object [] args ) ; 44 45 49 Object copyResult( Object result, ORB orb ) throws RemoteException ; 50 51 54 Object readResult( InputStream is ) ; 55 56 59 void writeResult( OutputStream os, Object result ) ; 60 61 64 boolean isDeclaredException( Throwable thr ) ; 65 66 70 void writeException( OutputStream os, Exception ex ) ; 71 72 76 Exception readException( ApplicationException ae ) ; 77 } 78 | Popular Tags |