KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)ServiceDetail.java 1.16 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 object that represents an ORB service: its <code>service_detail_type</code>
12  * field contains the type of the ORB service, and its <code>service_detail</code>
13  * field contains a description of the ORB service.
14
15  *
16  * @author RIP Team
17  * @version 1.11 11/15/00
18  */

19 public final class ServiceDetail implements org.omg.CORBA.portable.IDLEntity JavaDoc
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     /**
28      * The data describing the ORB service that this <code>ServiceDetail</code>
29      * object represents.
30      */

31     public byte[] service_detail;
32
33     /**
34      * Constructs a <code>ServiceDetail</code> object with 0 for the type of
35      * ORB service and an empty description.
36      */

37     public ServiceDetail() { }
38
39     /**
40      * Constructs a <code>ServiceDetail</code> object with the given
41      * ORB service type and the given description.
42      *
43      * @param service_detail_type an <code>int</code> specifying the type of
44      * ORB service
45      * @param service_detail a <code>byte</code> array describing the ORB service
46      */

47     public ServiceDetail(int service_detail_type, byte[] service_detail) {
48     this.service_detail_type = service_detail_type;
49     this.service_detail = service_detail;
50     }
51 }
52
Popular Tags