KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)ServiceInformation.java 1.12 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 /** An IDL struct in the CORBA module that
12  * stores information about a CORBA service available in the
13  * ORB implementation and is obtained from the <tt>ORB.get_service_information</tt>
14  * method.
15  */

16 public final class ServiceInformation implements org.omg.CORBA.portable.IDLEntity JavaDoc
17 {
18     /** Array of ints representing service options.
19     */

20     public int[] service_options;
21
22     /** Array of ServiceDetails giving more details about the service.
23     */

24     public org.omg.CORBA.ServiceDetail JavaDoc[] service_details;
25
26     /** Constructs a ServiceInformation object with empty service_options
27     * and service_details.
28     */

29     public ServiceInformation() { }
30
31     /** Constructs a ServiceInformation object with the given service_options
32     * and service_details.
33     * @param __service_options An array of ints describing the service options.
34     * @param __service_details An array of ServiceDetails describing the service
35     * details.
36     */

37     public ServiceInformation(int[] __service_options,
38                   org.omg.CORBA.ServiceDetail JavaDoc[] __service_details)
39     {
40         service_options = __service_options;
41         service_details = __service_details;
42     }
43 }
44
45
Popular Tags