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