All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.CORBA.ServiceDetail Maven / Gradle / Ivy

There is a newer version: 4.2.5
Show newest version
/*
 * Copyright (c) 1997, 2020 Oracle and/or its affiliates.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License
 * v. 1.0 which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the Eclipse
 * Public License v. 2.0 are satisfied: GNU General Public License v2.0
 * w/Classpath exception which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause OR GPL-2.0 WITH
 * Classpath-exception-2.0
 */

package org.omg.CORBA;

/** 
 * An object that represents an ORB service: its service_detail_type
 * field contains the type of the ORB service, and its service_detail
 * field contains a description of the ORB service.

 *
 * @author RIP Team
 * @version 1.11 11/15/00
 */
// @SuppressWarnings({"serial"})
public final class ServiceDetail implements org.omg.CORBA.portable.IDLEntity
{
    /**
     * The type of the ORB service that this ServiceDetail 
     * object represents.
     */
    public int service_detail_type;

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

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

    /**
     * Constructs a ServiceDetail object with the given 
     * ORB service type and the given description.
     *
     * @param service_detail_type an int specifying the type of 
     *                            ORB service
     * @param service_detail a byte 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy