⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _dynanystub.java

📁 gcc的组建
💻 JAVA
字号:
/* _DynAnyStub.java --   Copyright (C) 2005 Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package org.omg.DynamicAny;import org.omg.CORBA.Any;import org.omg.CORBA.MARSHAL;import org.omg.CORBA.TypeCode;import org.omg.CORBA.portable.Delegate;import org.omg.CORBA.portable.ObjectImpl;import org.omg.DynamicAny.DynAnyPackage.InvalidValue;import org.omg.DynamicAny.DynAnyPackage.TypeMismatch;import java.io.Serializable;/** * Should provide support for remote invocation of methods on DynAny. As * DynAny can never be remote at least till 1.5 inclusive, this class is * not in use. * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */public class _DynAnyStub  extends ObjectImpl  implements DynAny, Serializable{  /**   * Use serialVersionUID (v1.4) for interoperability.   */  private static final long serialVersionUID = -6521892777941121597L;  /**   * The purpose and value of this field are not documented.   */  public static final Class _opsClass = DynAnyOperations.class;  /**   * Create the DynAny stub.   */  public _DynAnyStub()  {  }  /**   * Create the naming context stub with the given delegate.   */  public _DynAnyStub(Delegate delegate)  {    _set_delegate(delegate);  }  /**   * Return the array of repository ids for this object.   */  public String[] _ids()  {    return new String[] { DynAnyHelper.id() };  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public TypeCode type()  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public boolean next()  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void destroy()  {  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public DynAny copy()  {    return this;  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void rewind()  {  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void assign(DynAny _0)              throws TypeMismatch  {  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public int component_count()  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public DynAny current_component()                           throws TypeMismatch  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public boolean equal(DynAny _0)  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void from_any(Any _0)                throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public Any get_any()              throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public boolean get_boolean()                      throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public char get_char()                throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public double get_double()                    throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public DynAny get_dyn_any()                     throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public float get_float()                  throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public int get_long()               throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public long get_longlong()                    throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public byte get_octet()                 throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public org.omg.CORBA.Object get_reference()                                     throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public short get_short()                  throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public String get_string()                    throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public TypeCode get_typecode()                        throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public int get_ulong()                throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public long get_ulonglong()                     throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public short get_ushort()                   throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public Serializable get_val()                       throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public char get_wchar()                 throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public String get_wstring()                     throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_any(Any _0)                  throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_boolean(boolean _0)                      throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_char(char _0)                   throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_double(double _0)                     throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_dyn_any(DynAny _0)                      throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_float(float _0)                    throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_long(int _0)                   throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_longlong(long _0)                       throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_octet(byte _0)                    throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_reference(org.omg.CORBA.Object _0)                        throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_short(short _0)                    throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_string(String _0)                     throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_typecode(TypeCode _0)                       throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_ulong(int _0)                    throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_ulonglong(long _0)                        throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_ushort(short _0)                     throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_val(Serializable _0)                  throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_wchar(char _0)                    throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public void insert_wstring(String _0)                      throws TypeMismatch, InvalidValue  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public boolean seek(int _0)  {    throw new MARSHAL(NOT_APPLICABLE);  }  /**   * The remote call of DynAny methods is not possible.   *   * @throws MARSHAL, always.   */  public Any to_any()  {    throw new MARSHAL(NOT_APPLICABLE);  }  static String NOT_APPLICABLE =    "DynAnys are always local objects. " +    "They and are never accessed on remote side via stubs.";}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -