/*
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
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
*/
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;
}
}