ARG_OUT.java revision 608:7e06bf1dcb09
1178476Sjb/*
2178476Sjb * Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved.
3178476Sjb * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4178476Sjb *
5178476Sjb * This code is free software; you can redistribute it and/or modify it
6178476Sjb * under the terms of the GNU General Public License version 2 only, as
7178476Sjb * published by the Free Software Foundation.  Oracle designates this
8178476Sjb * particular file as subject to the "Classpath" exception as provided
9178476Sjb * by Oracle in the LICENSE file that accompanied this code.
10178476Sjb *
11178476Sjb * This code is distributed in the hope that it will be useful, but WITHOUT
12178476Sjb * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13178476Sjb * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14178476Sjb * version 2 for more details (a copy is included in the LICENSE file that
15178476Sjb * accompanied this code).
16178476Sjb *
17178476Sjb * You should have received a copy of the GNU General Public License version
18178476Sjb * 2 along with this work; if not, write to the Free Software Foundation,
19178476Sjb * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20178476Sjb *
21178476Sjb * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22178476Sjb * or visit www.oracle.com if you need additional information or have any
23178476Sjb * questions.
24178476Sjb */
25178476Sjb
26178476Sjbpackage org.omg.CORBA;
27178476Sjb
28178476Sjb/**
29178476Sjb * A constant that signifies an "output" argument to an invocation,
30178476Sjb * meaning that the argument is being passed from the server to
31178476Sjb * the client.
32178476Sjb * <code>ARG_OUT.value</code> is one of the possible values used
33178476Sjb * to indicate the direction in
34178476Sjb * which a parameter is being passed during a dynamic invocation
35178476Sjb * using the Dynamic Invocation Interface (DII).
36178476Sjb * <P>
37178476Sjb * The code fragment below shows a typical usage:
38178476Sjb * <PRE>
39178476Sjb *  ORB orb = ORB.init(args, null);
40178476Sjb *  org.omg.CORBA.NamedValue nv = orb.create_named_value(
41178476Sjb *        "argumentIdentifier", myAny, org.omg.CORBA.ARG_OUT.value);
42178476Sjb * </PRE>
43178476Sjb *
44178476Sjb * @see     org.omg.CORBA.NamedValue
45178476Sjb * @since   JDK1.2
46178476Sjb */
47178476Sjbpublic interface ARG_OUT {
48178476Sjb
49178476Sjb/**
50178476Sjb * The constant value indicating an output argument.
51178476Sjb */
52178476Sjb  int value = 2;
53178476Sjb}
54178476Sjb