OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [org/] [omg/] [CORBA/] [ServerRequest.java] - Blame information for rev 775

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 775 jeremybenn
/* ServerRequest.java --
2
   Copyright (C) 2005 Free Software Foundation, Inc.
3
 
4
This file is part of GNU Classpath.
5
 
6
GNU Classpath is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2, or (at your option)
9
any later version.
10
 
11
GNU Classpath is distributed in the hope that it will be useful, but
12
WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
General Public License for more details.
15
 
16
You should have received a copy of the GNU General Public License
17
along with GNU Classpath; see the file COPYING.  If not, write to the
18
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
02110-1301 USA.
20
 
21
Linking this library statically or dynamically with other modules is
22
making a combined work based on this library.  Thus, the terms and
23
conditions of the GNU General Public License cover the whole
24
combination.
25
 
26
As a special exception, the copyright holders of this library give you
27
permission to link this library with independent modules to produce an
28
executable, regardless of the license terms of these independent
29
modules, and to copy and distribute the resulting executable under
30
terms of your choice, provided that you also meet, for each linked
31
independent module, the terms and conditions of the license of that
32
module.  An independent module is a module which is not derived from
33
or based on this library.  If you modify this library, you may extend
34
this exception to your version of the library, but you are not
35
obligated to do so.  If you do not wish to do so, delete this
36
exception statement from your version. */
37
 
38
 
39
package org.omg.CORBA;
40
 
41
/**
42
 * This class was expected to be part of the dynamic skeleton interface,
43
 * but it is almost never used in the code, generated by IDL to java compiler.
44
 * The recent tendention is to skip the request step, reading the method
45
 * arguments from the CDR input stream directly. The supplementing class
46
 * {@link DynamicImplementation} has already been deprecated in java 1.2
47
 * version.
48
 *
49
 * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
50
 */
51
public abstract class ServerRequest
52
{
53
  /**
54
   * Get the context information.
55
   */
56
  public abstract Context ctx();
57
 
58
  /**
59
   * Should return the name of the operation (method) being invoked.
60
   * Following the 1.4 specification, it does not, and must be overridden to
61
   * get functionality.
62
   *
63
   * @return the name of the operation being invoked. The object attribute
64
   * access operations are called _get_<attribute_name>
65
   * and _set_<attribute_name>.
66
   *
67
   * @throws NO_IMPLEMENT, always.
68
   */
69
  public String operation()
70
  {
71
    throw new NO_IMPLEMENT();
72
  }
73
 
74
  /**
75
   * Should specify the method parameter types and retrieve the
76
   * values that must be passed to the method being called. Following
77
   * the 1.4 specification, it does not, and must be overridden to
78
   * get functionality.
79
   *
80
   * @param args the method parameters.
81
   *
82
   * @throws NO_IMPLEMENT, always.
83
   */
84
  public void arguments(NVList args)
85
  {
86
    throw new NO_IMPLEMENT();
87
  }
88
 
89
  /**
90
   * Should specify the return value for the call. Following
91
   * the 1.4 specification, it does not, and must be overridden to
92
   * get functionality.
93
   *
94
   * @param result the return value.
95
   *
96
   * @throws NO_IMPLEMENT, always.
97
   */
98
  public void set_result(Any result)
99
  {
100
    throw new NO_IMPLEMENT();
101
  }
102
 
103
  /**
104
   * Should set the exception that has been thrown during
105
   * the method invocation. Following the 1.4 specification, it does not,
106
   * and must be overridden to get functionality.
107
   *
108
   * @param exc the Any, holding the exception.
109
   *
110
   * @throws NO_IMPLEMENT, always.
111
   */
112
  public void set_exception(Any exc)
113
  {
114
    throw new NO_IMPLEMENT();
115
  }
116
 
117
  /**
118
   * This method is deprecated, {@link #set_result} (same parameter).
119
   *
120
   * @deprecated since 1.2
121
   *
122
   * @throws NO_IMPLEMENT, always.
123
   */
124
  public void result(Any r)
125
  {
126
    throw new NO_IMPLEMENT();
127
  }
128
 
129
  /**
130
   * This method is deprecated, use {@link #set_exception} (same parameter).
131
   *
132
   * @deprecated since 1.2.
133
   *
134
   * @throws NO_IMPLEMENT, always.
135
   */
136
  public void except(Any exc)
137
  {
138
    throw new NO_IMPLEMENT();
139
  }
140
 
141
  /**
142
   * This method is deprecated, use {@link #arguments} (same parameter).
143
   *
144
   * @deprecated since 1.2
145
   *
146
   * @throws NO_IMPLEMENT, always.
147
   */
148
  public void params(NVList args)
149
  {
150
    throw new NO_IMPLEMENT();
151
  }
152
 
153
  /**
154
   * This method is deprecated, use {@link #operation} (same parameter).
155
   *
156
   * @deprecated since 1.2
157
   *
158
   * @throws NO_IMPLEMENT, always.
159
   */
160
  public String op_name()
161
  {
162
    throw new NO_IMPLEMENT();
163
  }
164
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.