[openrtm-commit:02069] r859 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 10月 19日 (水) 10:55:12 JST


Author: win-ei
Date: 2016-10-19 10:55:12 +0900 (Wed, 19 Oct 2016)
New Revision: 859

Removed:
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/EchoListHelper.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/EchoListHolder.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyService.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceHelper.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceHolder.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceOperations.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServicePOA.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/ValueListHelper.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/ValueListHolder.java
   trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/_MyServiceStub.java
Log:
Deleted unnecessary files.

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/EchoListHelper.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/EchoListHelper.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/EchoListHelper.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,62 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/EchoListHelper.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-abstract public class EchoListHelper
-{
-  private static String  _id = "IDL:SimpleService/EchoList:1.0";
-
-  public static void insert (org.omg.CORBA.Any a, String[] that)
-  {
-    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
-    a.type (type ());
-    write (out, that);
-    a.read_value (out.create_input_stream (), type ());
-  }
-
-  public static String[] extract (org.omg.CORBA.Any a)
-  {
-    return read (a.create_input_stream ());
-  }
-
-  private static org.omg.CORBA.TypeCode __typeCode = null;
-  synchronized public static org.omg.CORBA.TypeCode type ()
-  {
-    if (__typeCode == null)
-    {
-      __typeCode = org.omg.CORBA.ORB.init ().create_string_tc (0);
-      __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode);
-      __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (RTMExamples.SimpleService.EchoListHelper.id (), "EchoList", __typeCode);
-    }
-    return __typeCode;
-  }
-
-  public static String id ()
-  {
-    return _id;
-  }
-
-  public static String[] read (org.omg.CORBA.portable.InputStream istream)
-  {
-    String value[] = null;
-    int _len0 = istream.read_long ();
-    value = new String[_len0];
-    for (int _o1 = 0;_o1 < value.length; ++_o1)
-      value[_o1] = istream.read_string ();
-    return value;
-  }
-
-  public static void write (org.omg.CORBA.portable.OutputStream ostream, String[] value)
-  {
-    ostream.write_long (value.length);
-    for (int _i0 = 0;_i0 < value.length; ++_i0)
-      ostream.write_string (value[_i0]);
-  }
-
-}

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/EchoListHolder.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/EchoListHolder.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/EchoListHolder.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,39 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/EchoListHolder.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-public final class EchoListHolder implements org.omg.CORBA.portable.Streamable
-{
-  public String value[] = null;
-
-  public EchoListHolder ()
-  {
-  }
-
-  public EchoListHolder (String[] initialValue)
-  {
-    value = initialValue;
-  }
-
-  public void _read (org.omg.CORBA.portable.InputStream i)
-  {
-    value = RTMExamples.SimpleService.EchoListHelper.read (i);
-  }
-
-  public void _write (org.omg.CORBA.portable.OutputStream o)
-  {
-    RTMExamples.SimpleService.EchoListHelper.write (o, value);
-  }
-
-  public org.omg.CORBA.TypeCode _type ()
-  {
-    return RTMExamples.SimpleService.EchoListHelper.type ();
-  }
-
-}

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyService.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyService.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyService.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,13 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/MyService.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-public interface MyService extends MyServiceOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity 
-{
-} // interface MyService

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceHelper.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceHelper.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceHelper.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,85 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/MyServiceHelper.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-abstract public class MyServiceHelper
-{
-  private static String  _id = "IDL:SimpleService/MyService:1.0";
-
-  public static void insert (org.omg.CORBA.Any a, RTMExamples.SimpleService.MyService that)
-  {
-    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
-    a.type (type ());
-    write (out, that);
-    a.read_value (out.create_input_stream (), type ());
-  }
-
-  public static RTMExamples.SimpleService.MyService extract (org.omg.CORBA.Any a)
-  {
-    return read (a.create_input_stream ());
-  }
-
-  private static org.omg.CORBA.TypeCode __typeCode = null;
-  synchronized public static org.omg.CORBA.TypeCode type ()
-  {
-    if (__typeCode == null)
-    {
-      __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (RTMExamples.SimpleService.MyServiceHelper.id (), "MyService");
-    }
-    return __typeCode;
-  }
-
-  public static String id ()
-  {
-    return _id;
-  }
-
-  public static RTMExamples.SimpleService.MyService read (org.omg.CORBA.portable.InputStream istream)
-  {
-    return narrow (istream.read_Object (_MyServiceStub.class));
-  }
-
-  public static void write (org.omg.CORBA.portable.OutputStream ostream, RTMExamples.SimpleService.MyService value)
-  {
-    ostream.write_Object ((org.omg.CORBA.Object) value);
-  }
-
-  public static RTMExamples.SimpleService.MyService narrow (org.omg.CORBA.Object obj)
-  {
-    if (obj == null)
-      return null;
-    else if (obj instanceof RTMExamples.SimpleService.MyService)
-      return (RTMExamples.SimpleService.MyService)obj;
-    else if (!obj._is_a (id ()))
-      throw new org.omg.CORBA.BAD_PARAM ();
-    else
-    {
-      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
-      RTMExamples.SimpleService._MyServiceStub stub = new RTMExamples.SimpleService._MyServiceStub ();
-      stub._set_delegate(delegate);
-      return stub;
-    }
-  }
-
-  public static RTMExamples.SimpleService.MyService unchecked_narrow (org.omg.CORBA.Object obj)
-  {
-    if (obj == null)
-      return null;
-    else if (obj instanceof RTMExamples.SimpleService.MyService)
-      return (RTMExamples.SimpleService.MyService)obj;
-    else
-    {
-      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate ();
-      RTMExamples.SimpleService._MyServiceStub stub = new RTMExamples.SimpleService._MyServiceStub ();
-      stub._set_delegate(delegate);
-      return stub;
-    }
-  }
-
-}

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceHolder.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceHolder.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceHolder.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,38 +0,0 @@
-package RTMExamples.SimpleService;
-
-/**
-* RTMExamples/SimpleService/MyServiceHolder.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-public final class MyServiceHolder implements org.omg.CORBA.portable.Streamable
-{
-  public RTMExamples.SimpleService.MyService value = null;
-
-  public MyServiceHolder ()
-  {
-  }
-
-  public MyServiceHolder (RTMExamples.SimpleService.MyService initialValue)
-  {
-    value = initialValue;
-  }
-
-  public void _read (org.omg.CORBA.portable.InputStream i)
-  {
-    value = RTMExamples.SimpleService.MyServiceHelper.read (i);
-  }
-
-  public void _write (org.omg.CORBA.portable.OutputStream o)
-  {
-    RTMExamples.SimpleService.MyServiceHelper.write (o, value);
-  }
-
-  public org.omg.CORBA.TypeCode _type ()
-  {
-    return RTMExamples.SimpleService.MyServiceHelper.type ();
-  }
-
-}

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceOperations.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceOperations.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServiceOperations.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,18 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/MyServiceOperations.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-public interface MyServiceOperations 
-{
-  String echo (String msg);
-  String[] get_echo_history ();
-  void set_value (float value);
-  float get_value ();
-  float[] get_value_history ();
-} // interface MyServiceOperations

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServicePOA.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServicePOA.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/MyServicePOA.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,112 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/MyServicePOA.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-public abstract class MyServicePOA extends org.omg.PortableServer.Servant
- implements RTMExamples.SimpleService.MyServiceOperations, org.omg.CORBA.portable.InvokeHandler
-{
-
-  // Constructors
-
-  private static java.util.Hashtable _methods = new java.util.Hashtable ();
-  static
-  {
-    _methods.put ("echo", new java.lang.Integer (0));
-    _methods.put ("get_echo_history", new java.lang.Integer (1));
-    _methods.put ("set_value", new java.lang.Integer (2));
-    _methods.put ("get_value", new java.lang.Integer (3));
-    _methods.put ("get_value_history", new java.lang.Integer (4));
-  }
-
-  public org.omg.CORBA.portable.OutputStream _invoke (String $method,
-                                org.omg.CORBA.portable.InputStream in,
-                                org.omg.CORBA.portable.ResponseHandler $rh)
-  {
-    org.omg.CORBA.portable.OutputStream out = null;
-    java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
-    if (__method == null)
-      throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
-
-    switch (__method.intValue ())
-    {
-       case 0:  // SimpleService/MyService/echo
-       {
-         String msg = in.read_string ();
-         String $result = null;
-         $result = this.echo (msg);
-         out = $rh.createReply();
-         out.write_string ($result);
-         break;
-       }
-
-       case 1:  // SimpleService/MyService/get_echo_history
-       {
-         String $result[] = null;
-         $result = this.get_echo_history ();
-         out = $rh.createReply();
-         RTMExamples.SimpleService.EchoListHelper.write (out, $result);
-         break;
-       }
-
-       case 2:  // SimpleService/MyService/set_value
-       {
-         float value = in.read_float ();
-         this.set_value (value);
-         out = $rh.createReply();
-         break;
-       }
-
-       case 3:  // SimpleService/MyService/get_value
-       {
-         float $result = (float)0;
-         $result = this.get_value ();
-         out = $rh.createReply();
-         out.write_float ($result);
-         break;
-       }
-
-       case 4:  // SimpleService/MyService/get_value_history
-       {
-         float $result[] = null;
-         $result = this.get_value_history ();
-         out = $rh.createReply();
-         RTMExamples.SimpleService.ValueListHelper.write (out, $result);
-         break;
-       }
-
-       default:
-         throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
-    }
-
-    return out;
-  } // _invoke
-
-  // Type-specific CORBA::Object operations
-  private static String[] __ids = {
-    "IDL:SimpleService/MyService:1.0"};
-
-  public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId)
-  {
-    return (String[])__ids.clone ();
-  }
-
-  public MyService _this() 
-  {
-    return MyServiceHelper.narrow(
-    super._this_object());
-  }
-
-  public MyService _this(org.omg.CORBA.ORB orb) 
-  {
-    return MyServiceHelper.narrow(
-    super._this_object(orb));
-  }
-
-
-} // class MyServicePOA

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/ValueListHelper.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/ValueListHelper.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/ValueListHelper.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,60 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/ValueListHelper.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-abstract public class ValueListHelper
-{
-  private static String  _id = "IDL:SimpleService/ValueList:1.0";
-
-  public static void insert (org.omg.CORBA.Any a, float[] that)
-  {
-    org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
-    a.type (type ());
-    write (out, that);
-    a.read_value (out.create_input_stream (), type ());
-  }
-
-  public static float[] extract (org.omg.CORBA.Any a)
-  {
-    return read (a.create_input_stream ());
-  }
-
-  private static org.omg.CORBA.TypeCode __typeCode = null;
-  synchronized public static org.omg.CORBA.TypeCode type ()
-  {
-    if (__typeCode == null)
-    {
-      __typeCode = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_float);
-      __typeCode = org.omg.CORBA.ORB.init ().create_sequence_tc (0, __typeCode);
-      __typeCode = org.omg.CORBA.ORB.init ().create_alias_tc (RTMExamples.SimpleService.ValueListHelper.id (), "ValueList", __typeCode);
-    }
-    return __typeCode;
-  }
-
-  public static String id ()
-  {
-    return _id;
-  }
-
-  public static float[] read (org.omg.CORBA.portable.InputStream istream)
-  {
-    float value[] = null;
-    int _len0 = istream.read_long ();
-    value = new float[_len0];
-    istream.read_float_array (value, 0, _len0);
-    return value;
-  }
-
-  public static void write (org.omg.CORBA.portable.OutputStream ostream, float[] value)
-  {
-    ostream.write_long (value.length);
-    ostream.write_float_array (value, 0, value.length);
-  }
-
-}

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/ValueListHolder.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/ValueListHolder.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/ValueListHolder.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,39 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/ValueListHolder.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-public final class ValueListHolder implements org.omg.CORBA.portable.Streamable
-{
-  public float value[] = null;
-
-  public ValueListHolder ()
-  {
-  }
-
-  public ValueListHolder (float[] initialValue)
-  {
-    value = initialValue;
-  }
-
-  public void _read (org.omg.CORBA.portable.InputStream i)
-  {
-    value = RTMExamples.SimpleService.ValueListHelper.read (i);
-  }
-
-  public void _write (org.omg.CORBA.portable.OutputStream o)
-  {
-    RTMExamples.SimpleService.ValueListHelper.write (o, value);
-  }
-
-  public org.omg.CORBA.TypeCode _type ()
-  {
-    return RTMExamples.SimpleService.ValueListHelper.type ();
-  }
-
-}

Deleted: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/_MyServiceStub.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/_MyServiceStub.java	2016-10-18 08:35:44 UTC (rev 858)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/RTMExamples/SimpleService/_MyServiceStub.java	2016-10-19 01:55:12 UTC (rev 859)
@@ -1,136 +0,0 @@
-package RTMExamples.SimpleService;
-
-
-/**
-* RTMExamples/SimpleService/_MyServiceStub.java .
-* IDL-to-Java ƒRƒ“ƒpƒCƒ‰ (ƒ|[ƒ^ƒuƒ‹), ƒo[ƒWƒ‡ƒ“ "3.1" ‚Ő¶¬
-* ¶¬Œ³: src/RTMExamples/MyService.idl
-* 2008”N7ŒŽ17“ú 22Žž25•ª31•b JST
-*/
-
-public class _MyServiceStub extends org.omg.CORBA.portable.ObjectImpl implements RTMExamples.SimpleService.MyService
-{
-
-  public String echo (String msg)
-  {
-            org.omg.CORBA.portable.InputStream $in = null;
-            try {
-                org.omg.CORBA.portable.OutputStream $out = _request ("echo", true);
-                $out.write_string (msg);
-                $in = _invoke ($out);
-                String $result = $in.read_string ();
-                return $result;
-            } catch (org.omg.CORBA.portable.ApplicationException $ex) {
-                $in = $ex.getInputStream ();
-                String _id = $ex.getId ();
-                throw new org.omg.CORBA.MARSHAL (_id);
-            } catch (org.omg.CORBA.portable.RemarshalException $rm) {
-                return echo (msg        );
-            } finally {
-                _releaseReply ($in);
-            }
-  } // echo
-
-  public String[] get_echo_history ()
-  {
-            org.omg.CORBA.portable.InputStream $in = null;
-            try {
-                org.omg.CORBA.portable.OutputStream $out = _request ("get_echo_history", true);
-                $in = _invoke ($out);
-                String $result[] = RTMExamples.SimpleService.EchoListHelper.read ($in);
-                return $result;
-            } catch (org.omg.CORBA.portable.ApplicationException $ex) {
-                $in = $ex.getInputStream ();
-                String _id = $ex.getId ();
-                throw new org.omg.CORBA.MARSHAL (_id);
-            } catch (org.omg.CORBA.portable.RemarshalException $rm) {
-                return get_echo_history (        );
-            } finally {
-                _releaseReply ($in);
-            }
-  } // get_echo_history
-
-  public void set_value (float value)
-  {
-            org.omg.CORBA.portable.InputStream $in = null;
-            try {
-                org.omg.CORBA.portable.OutputStream $out = _request ("set_value", true);
-                $out.write_float (value);
-                $in = _invoke ($out);
-                return;
-            } catch (org.omg.CORBA.portable.ApplicationException $ex) {
-                $in = $ex.getInputStream ();
-                String _id = $ex.getId ();
-                throw new org.omg.CORBA.MARSHAL (_id);
-            } catch (org.omg.CORBA.portable.RemarshalException $rm) {
-                set_value (value        );
-            } finally {
-                _releaseReply ($in);
-            }
-  } // set_value
-
-  public float get_value ()
-  {
-            org.omg.CORBA.portable.InputStream $in = null;
-            try {
-                org.omg.CORBA.portable.OutputStream $out = _request ("get_value", true);
-                $in = _invoke ($out);
-                float $result = $in.read_float ();
-                return $result;
-            } catch (org.omg.CORBA.portable.ApplicationException $ex) {
-                $in = $ex.getInputStream ();
-                String _id = $ex.getId ();
-                throw new org.omg.CORBA.MARSHAL (_id);
-            } catch (org.omg.CORBA.portable.RemarshalException $rm) {
-                return get_value (        );
-            } finally {
-                _releaseReply ($in);
-            }
-  } // get_value
-
-  public float[] get_value_history ()
-  {
-            org.omg.CORBA.portable.InputStream $in = null;
-            try {
-                org.omg.CORBA.portable.OutputStream $out = _request ("get_value_history", true);
-                $in = _invoke ($out);
-                float $result[] = RTMExamples.SimpleService.ValueListHelper.read ($in);
-                return $result;
-            } catch (org.omg.CORBA.portable.ApplicationException $ex) {
-                $in = $ex.getInputStream ();
-                String _id = $ex.getId ();
-                throw new org.omg.CORBA.MARSHAL (_id);
-            } catch (org.omg.CORBA.portable.RemarshalException $rm) {
-                return get_value_history (        );
-            } finally {
-                _releaseReply ($in);
-            }
-  } // get_value_history
-
-  // Type-specific CORBA::Object operations
-  private static String[] __ids = {
-    "IDL:SimpleService/MyService:1.0"};
-
-  public String[] _ids ()
-  {
-    return (String[])__ids.clone ();
-  }
-
-  private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
-  {
-     String str = s.readUTF ();
-     String[] args = null;
-     java.util.Properties props = null;
-     org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
-     org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
-     _set_delegate (delegate);
-  }
-
-  private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
-  {
-     String[] args = null;
-     java.util.Properties props = null;
-     String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
-     s.writeUTF (str);
-  }
-} // class _MyServiceStub



More information about the openrtm-commit mailing list