1. /*
  2. * @(#)ServiceDetail.java 1.10 01/02/09
  3. *
  4. * Copyright 1998-2001 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. * An object that represents an ORB service. Its <code>service_detail_type</code>
  13. * field contains the type of the ORB service, and its <code>service_detail</code>
  14. * field contains a description of the ORB service..
  15. *
  16. * @author RIP Team
  17. * @version 1.10 02/09/01
  18. */
  19. public final class ServiceDetail implements org.omg.CORBA.portable.IDLEntity
  20. {
  21. /**
  22. * The type of the ORB service that this <code>ServiceDetail</code>
  23. * object represents.
  24. */
  25. public int service_detail_type;
  26. /**
  27. * The data describing the ORB service that this <code>ServiceDetail</code>
  28. * object represents.
  29. */
  30. public byte[] service_detail;
  31. /**
  32. * Constructs a <code>ServiceDetail</code> object with 0 for the type of
  33. * ORB service and an empty description.
  34. */
  35. public ServiceDetail() { }
  36. /**
  37. * Constructs a <code>ServiceDetail</code> object with the given
  38. * ORB service type and the given description.
  39. *
  40. * @param service_detail_type an <code>int</code> specifying the type of
  41. * ORB service
  42. * @param service_detail a <code>byte</code> array describing the ORB service
  43. */
  44. public ServiceDetail(int service_detail_type, byte[] service_detail) {
  45. this.service_detail_type = service_detail_type;
  46. this.service_detail = service_detail;
  47. }
  48. }