/[classpath]/classpath/gnu/CORBA/Poa/LocalRequest.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/Poa/LocalRequest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by audriusa, Fri Oct 28 09:47:09 2005 UTC revision 1.4 by audriusa, Fri Oct 28 10:33:42 2005 UTC
# Line 49  import gnu.CORBA.ObjectCreator; Line 49  import gnu.CORBA.ObjectCreator;
49  import gnu.CORBA.Unexpected;  import gnu.CORBA.Unexpected;
50  import gnu.CORBA.gnuAny;  import gnu.CORBA.gnuAny;
51  import gnu.CORBA.gnuRequest;  import gnu.CORBA.gnuRequest;
52  import gnu.CORBA.streamReadyHolder;  import gnu.CORBA.StreamHolder;
53  import gnu.CORBA.streamRequest;  import gnu.CORBA.StreamBasedRequest;
54    
55  import org.omg.CORBA.ARG_OUT;  import org.omg.CORBA.ARG_OUT;
56  import org.omg.CORBA.Any;  import org.omg.CORBA.Any;
# Line 368  public class LocalRequest extends gnuReq Line 368  public class LocalRequest extends gnuReq
368                        {                        {
369                          // Failed due any reason, insert without                          // Failed due any reason, insert without
370                          // helper.                          // helper.
371                          a.insert_Streamable(new streamReadyHolder(                          a.insert_Streamable(new StreamHolder(
372                              buf.create_input_stream()                              buf.create_input_stream()
373                            )                            )
374                          );                          );
# Line 589  public class LocalRequest extends gnuReq Line 589  public class LocalRequest extends gnuReq
589              // Prepare an Any that will hold the exception.              // Prepare an Any that will hold the exception.
590              gnuAny exc = new gnuAny();              gnuAny exc = new gnuAny();
591    
592              exc.insert_Streamable(new streamReadyHolder(input));              exc.insert_Streamable(new StreamHolder(input));
593    
594              UnknownUserException unuex = new UnknownUserException(exc);              UnknownUserException unuex = new UnknownUserException(exc);
595              m_environment.exception(unuex);              m_environment.exception(unuex);
# Line 664  public class LocalRequest extends gnuReq Line 664  public class LocalRequest extends gnuReq
664     * Get the parameter stream, where the invocation arguments should be written     * Get the parameter stream, where the invocation arguments should be written
665     * if they are written into the stream directly.     * if they are written into the stream directly.
666     */     */
667    public streamRequest getParameterStream()    public StreamBasedRequest getParameterStream()
668    {    {
669      m_parameter_buffer = new streamRequest();      m_parameter_buffer = new StreamBasedRequest();
670      m_parameter_buffer.request = this;      m_parameter_buffer.request = this;
671      m_parameter_buffer.setOrb(poa.orb());      m_parameter_buffer.setOrb(poa.orb());
672      return m_parameter_buffer;      return m_parameter_buffer;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26