package org.omg.Security;

/**
 * Holder class for : OptionsDirectionPair
 * 
 * @author OpenORB Compiler
 */
final public class OptionsDirectionPairHolder
        implements org.omg.CORBA.portable.Streamable
{
    /**
     * Internal OptionsDirectionPair value
     */
    public org.omg.Security.OptionsDirectionPair value;

    /**
     * Default constructor
     */
    public OptionsDirectionPairHolder()
    { }

    /**
     * Constructor with value initialisation
     * @param initial the initial value
     */
    public OptionsDirectionPairHolder(org.omg.Security.OptionsDirectionPair initial)
    {
        value = initial;
    }

    /**
     * Read OptionsDirectionPair from a marshalled stream
     * @param istream the input stream
     */
    public void _read(org.omg.CORBA.portable.InputStream istream)
    {
        value = OptionsDirectionPairHelper.read(istream);
    }

    /**
     * Write OptionsDirectionPair into a marshalled stream
     * @param ostream the output stream
     */
    public void _write(org.omg.CORBA.portable.OutputStream ostream)
    {
        OptionsDirectionPairHelper.write(ostream,value);
    }

    /**
     * Return the OptionsDirectionPair TypeCode
     * @return a TypeCode
     */
    public org.omg.CORBA.TypeCode _type()
    {
        return OptionsDirectionPairHelper.type();
    }

}
