KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)ARG_OUT.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  * A constant that signifies an "output" argument to an invocation,
12  * meaning that the argument is being passed from the server to
13  * the client.
14  * <code>ARG_OUT.value</code> is one of the possible values used
15  * to 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_OUT.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_OUT {
31
32 /**
33  * The constant value indicating an output argument.
34  */

35   int value = 2;
36 }
37
38
39
40
Popular Tags