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