Package org.omg.CORBA.portable

Examples of org.omg.CORBA.portable.OutputStream.write_value()


              else if (method.equals("exchangeNodeObject"))
                {
                  NodeObject arg0 = (NodeObject) in.read_value(NodeObject.class);
                  NodeObject result = target.exchangeNodeObject(arg0);
                  org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
                  out.write_value(result, NodeObject.class);
                  return out;
                }
              else if (method.equals("passArrayOfRemotes"))
                {
                  RMI_test[] arg0 = (RMI_test[]) in.read_value(RMI_test[].class);
View Full Code Here


              else if (method.equals("passArrayOfRemotes"))
                {
                  RMI_test[] arg0 = (RMI_test[]) in.read_value(RMI_test[].class);
                  String result = target.passArrayOfRemotes(arg0);
                  org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
                  out.write_value(result, String.class);
                  return out;
                }
            case 20:
              if (method.equals("passCorbaCMValueType"))
                {
View Full Code Here

              if (method.equals("passCorbaCMValueType"))
                {
                  cmInfo arg0 = (cmInfo) in.read_value(cmInfo.class);
                  String result = target.passCorbaCMValueType(arg0);
                  org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
                  out.write_value(result, String.class);
                  return out;
                }
            case 23:
              if (method.equals("passCorbaValueTypeArray"))
                {
View Full Code Here

              if (method.equals("passCorbaValueTypeArray"))
                {
                  Info[] arg0 = (Info[]) in.read_value(Info[].class);
                  String result = target.passCorbaValueTypeArray(arg0);
                  org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
                  out.write_value(result, String.class);
                  return out;
                }
          }
        throw new BAD_OPERATION();
      }
View Full Code Here

                    } catch ( javax.transaction.SystemException ex ) {
                        String id = "IDL:javax/transaction/SystemEx:1.0";
                        org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply
                                .createExceptionReply ();
                        out.write_string ( id );
                        out.write_value ( ex,
                                javax.transaction.SystemException.class );
                        return out;
                    }
                    OutputStream out = reply.createReply ();
                    return out;
View Full Code Here

                    } catch ( javax.transaction.SystemException ex ) {
                        String id = "IDL:javax/transaction/SystemEx:1.0";
                        org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply
                                .createExceptionReply ();
                        out.write_string ( id );
                        out.write_value ( ex,
                                javax.transaction.SystemException.class );
                        return out;
                    }
                    OutputStream out = reply.createReply ();
                    out.write_long ( result );
View Full Code Here

                    } catch ( javax.transaction.SystemException ex ) {
                        String id = "IDL:javax/transaction/SystemEx:1.0";
                        org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply
                                .createExceptionReply ();
                        out.write_string ( id );
                        out.write_value ( ex,
                                javax.transaction.SystemException.class );
                        return out;
                    }
                    OutputStream out = reply.createReply ();
                    return out;
View Full Code Here

                case 23:
                    if (method.equals("_get_J_transaction_name")) {
                        String result = target.get_transaction_name();
                        org.omg.CORBA_2_3.portable.OutputStream out =
                            (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
                        out.write_value(result,String.class);
                        return out;
                    }
                case 24:
                    if (method.equals("register_synchronization")) {
                        RemoteSynchro arg0 = (RemoteSynchro) PortableRemoteObject.narrow(in.read_Object(), RemoteSynchro.class);
View Full Code Here

                case 13:
                    if (method.equals("_get_hostName")) {
                        String result = target.getHostName();
                        org.omg.CORBA_2_3.portable.OutputStream out =
                            (org.omg.CORBA_2_3.portable.OutputStream) reply.createReply();
                        out.write_value(result,String.class);
                        return out;
                    }
                case 15:
                    if (method.equals("_get_portNumber")) {
                        int result = target.getPortNumber();
View Full Code Here

                    } catch ( javax.transaction.SystemException ex ) {
                        String id = "IDL:javax/transaction/SystemEx:1.0";
                        org.omg.CORBA_2_3.portable.OutputStream out = (org.omg.CORBA_2_3.portable.OutputStream) reply
                                .createExceptionReply ();
                        out.write_string ( id );
                        out.write_value ( ex,
                                javax.transaction.SystemException.class );
                        return out;
                    }
                    OutputStream out = reply.createReply ();
                    return out;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.