1. /*
  2. * @(#)ServiceInformation.java 1.11 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA;
  8. /** An IDL struct in the CORBA module that
  9. * stores information about a CORBA service available in the
  10. * ORB implementation and is obtained from the <tt>ORB.get_service_information</tt>
  11. * method.
  12. */
  13. public final class ServiceInformation implements org.omg.CORBA.portable.IDLEntity
  14. {
  15. /** Array of ints representing service options.
  16. */
  17. public int[] service_options;
  18. /** Array of ServiceDetails giving more details about the service.
  19. */
  20. public org.omg.CORBA.ServiceDetail[] service_details;
  21. /** Constructs a ServiceInformation object with empty service_options
  22. * and service_details.
  23. */
  24. public ServiceInformation() { }
  25. /** Constructs a ServiceInformation object with the given service_options
  26. * and service_details.
  27. * @param __service_options An array of ints describing the service options.
  28. * @param __service_details An array of ServiceDetails describing the service
  29. * details.
  30. */
  31. public ServiceInformation(int[] __service_options,
  32. org.omg.CORBA.ServiceDetail[] __service_details)
  33. {
  34. service_options = __service_options;
  35. service_details = __service_details;
  36. }
  37. }