1 /* 2 * @(#)IIOPProfileTemplate.java 1.15 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 com.sun.corba.se.spi.ior.iiop; 9 10 import java.util.List ; 11 import java.util.Iterator ; 12 13 import org.omg.CORBA_2_3.portable.OutputStream ; 14 15 import com.sun.corba.se.spi.ior.TaggedProfileTemplate ; 16 17 import com.sun.corba.se.spi.ior.iiop.GIOPVersion ; 18 import com.sun.corba.se.spi.orb.ORB ; 19 20 /** 21 * IIOPProfileTemplate represents the parts of an IIOPProfile that are independent 22 * of the object identifier. It is a container of tagged components. 23 */ 24 public interface IIOPProfileTemplate extends TaggedProfileTemplate 25 { 26 /** Return the GIOP version of this profile. 27 */ 28 public GIOPVersion getGIOPVersion() ; 29 30 /** Return the IIOP address from the IIOP profile. This is called the 31 * primary address here since other addresses may be contained in 32 * components. 33 */ 34 public IIOPAddress getPrimaryAddress() ; 35 } 36