<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*
 * @(#)ServiceDetail.java	1.10 01/02/09
 *
 * Copyright 1998-2001 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the proprietary information of Sun Microsystems, Inc.  
 * Use is subject to license terms.
 * 
 */

package org.omg.CORBA;

/**
 * An object that represents an ORB service. Its &lt;code&gt;service_detail_type&lt;/code&gt;
 * field contains the type of the ORB service, and its &lt;code&gt;service_detail&lt;/code&gt;
 * field contains a description of the ORB service..
 *
 * @author RIP Team
 * @version 1.10 02/09/01
 */
public final class ServiceDetail implements org.omg.CORBA.portable.IDLEntity
{
    /**
     * The type of the ORB service that this &lt;code&gt;ServiceDetail&lt;/code&gt; 
     * object represents. 
     */
    public int service_detail_type;

    /** 
     * The data describing the ORB service that this &lt;code&gt;ServiceDetail&lt;/code&gt;
     * object represents.
     */
    public byte[] service_detail;

    /** 
     * Constructs a &lt;code&gt;ServiceDetail&lt;/code&gt; object with 0 for the type of
     * ORB service and an empty description.
     */
    public ServiceDetail() { }

    /** 
     * Constructs a &lt;code&gt;ServiceDetail&lt;/code&gt; object with the given 
     * ORB service type and the given description.
     *
     * @param service_detail_type an &lt;code&gt;int&lt;/code&gt; specifying the type of 
     *                            ORB service
     * @param service_detail a &lt;code&gt;byte&lt;/code&gt; array describing the ORB service
     */
    public ServiceDetail(int service_detail_type, byte[] service_detail) {
	this.service_detail_type = service_detail_type;
	this.service_detail = service_detail;
    }
}
</pre></body></html>