URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [org/] [omg/] [DynamicAny/] [_DynAnyStub.java] - Rev 791
Go to most recent revision | Compare with Previous | Blame | View Log
/* _DynAnyStub.java -- Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the 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, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ package org.omg.DynamicAny; import java.io.Serializable; import org.omg.CORBA.Any; import org.omg.CORBA.MARSHAL; import org.omg.CORBA.TypeCode; import org.omg.CORBA.portable.ObjectImpl; import org.omg.DynamicAny.DynAnyPackage.InvalidValue; import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; /** * 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. */ @SuppressWarnings("unchecked") // Needed for API compatibility public static final Class _opsClass = DynAnyOperations.class; /** * Create the DynAny stub. */ public _DynAnyStub() { } /** * 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."; }
Go to most recent revision | Compare with Previous | Blame | View Log