package org.omg.IOP;
/**
* org/omg/IOP/CodecFactoryOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /var/lib/jenkins/jobs/openjdk/jobs/openjdk10/workspace/jdk-updates_jdk10u/src/java.corba/share/classes/org/omg/PortableInterceptor/IOP.idl
* Sunday, February 14, 2021 at 5:20:31 PM Coordinated Universal Time
*/
Codecs
are obtained from the CodecFactory
.
The CodecFactory
is obtained through a call to
ORB.resolve_initial_references( "CodecFactory" )
.
/**
* <code>Codecs</code> are obtained from the <code>CodecFactory</code>.
* The <code>CodecFactory</code> is obtained through a call to
* <code>ORB.resolve_initial_references( "CodecFactory" )</code>.
*/
public interface CodecFactoryOperations
{
Create a Codec
of the given encoding.
Params: - enc – The encoding for which to create a
Codec
.
Throws: - UnknownEncoding – thrown if this factory cannot create a
Codec
of the given encoding.
Returns: A Codec
obtained with the given encoding.
/**
* Create a <code>Codec</code> of the given encoding.
*
* @param enc The encoding for which to create a <code>Codec</code>.
* @return A <code>Codec</code> obtained with the given encoding.
* @exception UnknownEncoding thrown if this factory cannot create a
* <code>Codec</code> of the given encoding.
*/
org.omg.IOP.Codec create_codec (org.omg.IOP.Encoding enc) throws org.omg.IOP.CodecFactoryPackage.UnknownEncoding;
} // interface CodecFactoryOperations