1. /*
  2. * @(#)IdEncapsulationFactory.java 1.12 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.internal.ior ;
  8. import org.omg.CORBA_2_3.portable.InputStream ;
  9. import com.sun.corba.se.internal.ior.IdEncapsulation ;
  10. public interface IdEncapsulationFactory {
  11. /** Construct the appropriate IdEncapsulation object with the
  12. * given id from the InputStream is.
  13. */
  14. public IdEncapsulation create( int id, InputStream in ) ;
  15. }