1. package org.omg.IOP;
  2. /**
  3. * org/omg/IOP/CodecFactoryOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.1"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/IOP.idl
  6. * Monday, February 23, 2004 7:03:03 AM GMT
  7. */
  8. /**
  9. * <code>Codecs</code> are obtained from the <code>CodecFactory</code>.
  10. * The <code>CodecFactory</code> is obtained through a call to
  11. * <code>ORB.resolve_initial_references( "CodecFactory" )</code>.
  12. */
  13. public interface CodecFactoryOperations
  14. {
  15. /**
  16. * Create a <code>Codec</code> of the given encoding.
  17. * <p>
  18. * @param enc The encoding for which to create a <code>Codec</code>.
  19. * @return A <code>Codec</code> obtained with the given encoding.
  20. * @exception UnknownEncoding thrown if this factory cannot create a
  21. * <code>Codec</code> of the given encoding.
  22. */
  23. org.omg.IOP.Codec create_codec (org.omg.IOP.Encoding enc) throws org.omg.IOP.CodecFactoryPackage.UnknownEncoding;
  24. } // interface CodecFactoryOperations