KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > ARG_INOUT


1 /*
2  * @(#)ARG_INOUT.java 1.17 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package org.omg.CORBA;
9
10 /**
11  * Signifies an argument used for both input and output in an invocation,
12  * meaning that the argument is being passed from the client to
13  * the server and then back from the server to the client.
14  * <code>ARG_INOUT.value</code> is one of the possible values used to
15  * indicate the direction in
16  * which a parameter is being passed during a dynamic invocation
17  * using the Dynamic Invocation Interface (DII).
18  * <P>
19  * The code fragment below shows a typical usage:
20  * <PRE>
21  * ORB orb = ORB.init(args, null);
22  * org.omg.CORBA.NamedValue nv = orb.create_named_value(
23  * "argumentIdentifier", myAny, org.omg.CORBA.ARG_INOUT.value);
24  * </PRE>
25  *
26  * @version 1.5, 09/09/97
27  * @see org.omg.CORBA.NamedValue
28  * @since JDK1.2
29  */

30 public interface ARG_INOUT {
31
32 /**
33  * The constant value indicating an argument used for both
34  * input and output.
35  */

36   int value = 3;
37 }
38
39
40
41
42
Popular Tags