1. /*
  2. * @(#)ARG_INOUT.java 1.13 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package org.omg.CORBA;
  11. /**
  12. * Signifies an argument used for both input and output in an invocation,
  13. * meaning that the argument is being passed from the client to
  14. * the server and then back from the server to the client.
  15. * <code>ARG_INOUT.value</code> is one of the possible values used to
  16. * indicate the direction in
  17. * which a parameter is being passed during a dynamic invocation
  18. * using the Dynamic Invocation Interface (DII).
  19. * <P>
  20. * The code fragment below shows a typical usage:
  21. * <PRE>
  22. * ORB orb = ORB.init(args, null);
  23. * org.omg.CORBA.NamedValue nv = orb.create_named_value(
  24. * "argumentIdentifier", myAny, org.omg.CORBA.ARG_INOUT.value);
  25. * </PRE>
  26. *
  27. * @version 1.5, 09/09/97
  28. * @see org.omg.CORBA.NamedValue
  29. * @since JDK1.2
  30. */
  31. public interface ARG_INOUT {
  32. /**
  33. * The constant value indicating an argument used for both
  34. * input and output.
  35. */
  36. int value = 3;
  37. }