Java Code Examples for org.omg.CORBA.portable.ValueInputStream

The following are top voted examples for showing how to use org.omg.CORBA.portable.ValueInputStream. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: OpenJSharp   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 2
Project: openjdk-jdk10   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 3
Project: openjdk9   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 4
Project: lookaside_java-1.8.0-openjdk   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 5
Project: jdk8u_corba   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 6
Project: infobip-open-jdk-8   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 7
Project: openjdk-source-code-learn   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 8
Project: OLD-OpenJDK8   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 9
Project: openjdk-orb   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 10
Project: openjdk-icedtea7   File: IIOPInputStream.java   View source code 6 votes vote down vote up
private void skipCustomUsingFVD(ValueMember[] fields,
                                com.sun.org.omg.SendingContext.CodeBase sender)
                                throws InvalidClassException, StreamCorruptedException,
                                       ClassNotFoundException, IOException
{
    readFormatVersion();
    boolean calledDefaultWriteObject = readBoolean();

    if (calledDefaultWriteObject)
        throwAwayData(fields, sender);

    if (getStreamFormatVersion() == 2) {

        ((ValueInputStream)getOrbStream()).start_value();
        ((ValueInputStream)getOrbStream()).end_value();
    }
}
 
Example 11
Project: OpenJSharp   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void beginUnmarshalCustomValue(InputStreamHook stream,
                                      boolean calledDefaultWriteObject,
                                      boolean hasReadObject)
    throws IOException {

    if (hasReadObject) {
        if (calledDefaultWriteObject)
            stream.setState(IN_READ_OBJECT_DEFAULTS_SENT);
        else {
            try {
                if (stream.getStreamFormatVersion() == 2)
                    ((ValueInputStream)stream.getOrbStream()).start_value();
            } catch( Exception e ) {
                // This will happen for Big Integer which uses
                // writeFields in it's writeObject. We should be past
                // start_value by now.
                // NOTE: If we don't log any exception here we should
                // be fine. If there is an error, it will be caught
                // while reading the optional data.

            }
            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
    } else {
        if (calledDefaultWriteObject)
            stream.setState(NO_READ_OBJECT_DEFAULTS_SENT);
        else
            // XXX I18N and logging needed.
            throw new StreamCorruptedException("No default data sent");
    }
}
 
Example 12
Project: OpenJSharp   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) {

            // In stream format version 2, we can skip over
            // the optional data this way.  In stream format version 1,
            // we will probably wind up with an error if we're
            // unmarshaling a superclass.
            if (stream.getStreamFormatVersion() == 2) {
                ((ValueInputStream)stream.getOrbStream()).start_value();
                ((ValueInputStream)stream.getOrbStream()).end_value();
            }

            stream.setState(DEFAULT_STATE);
        }
 
Example 13
Project: OpenJSharp   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endDefaultReadObject(InputStreamHook stream) throws IOException {

            // Read the fake valuetype header in stream format version 2
            if (stream.getStreamFormatVersion() == 2)
                ((ValueInputStream)stream.getOrbStream()).start_value();

            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
 
Example 14
Project: OpenJSharp   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException
{
    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }
    stream.setState(DEFAULT_STATE);
}
 
Example 15
Project: OpenJSharp   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException {
    // Code should read default fields before calling this

    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).start_value();
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }

    stream.setState(DEFAULT_STATE);
}
 
Example 16
Project: openjdk-jdk10   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void beginUnmarshalCustomValue(InputStreamHook stream,
                                      boolean calledDefaultWriteObject,
                                      boolean hasReadObject)
    throws IOException {

    if (hasReadObject) {
        if (calledDefaultWriteObject)
            stream.setState(IN_READ_OBJECT_DEFAULTS_SENT);
        else {
            try {
                if (stream.getStreamFormatVersion() == 2)
                    ((ValueInputStream)stream.getOrbStream()).start_value();
            } catch( Exception e ) {
                // This will happen for Big Integer which uses
                // writeFields in it's writeObject. We should be past
                // start_value by now.
                // NOTE: If we don't log any exception here we should
                // be fine. If there is an error, it will be caught
                // while reading the optional data.

            }
            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
    } else {
        if (calledDefaultWriteObject)
            stream.setState(NO_READ_OBJECT_DEFAULTS_SENT);
        else
            // XXX I18N and logging needed.
            throw new StreamCorruptedException("No default data sent");
    }
}
 
Example 17
Project: openjdk-jdk10   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) {

            // In stream format version 2, we can skip over
            // the optional data this way.  In stream format version 1,
            // we will probably wind up with an error if we're
            // unmarshaling a superclass.
            if (stream.getStreamFormatVersion() == 2) {
                ((ValueInputStream)stream.getOrbStream()).start_value();
                ((ValueInputStream)stream.getOrbStream()).end_value();
            }

            stream.setState(DEFAULT_STATE);
        }
 
Example 18
Project: openjdk-jdk10   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endDefaultReadObject(InputStreamHook stream) throws IOException {

            // Read the fake valuetype header in stream format version 2
            if (stream.getStreamFormatVersion() == 2)
                ((ValueInputStream)stream.getOrbStream()).start_value();

            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
 
Example 19
Project: openjdk-jdk10   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException
{
    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }
    stream.setState(DEFAULT_STATE);
}
 
Example 20
Project: openjdk-jdk10   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException {
    // Code should read default fields before calling this

    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).start_value();
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }

    stream.setState(DEFAULT_STATE);
}
 
Example 21
Project: openjdk9   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void beginUnmarshalCustomValue(InputStreamHook stream,
                                      boolean calledDefaultWriteObject,
                                      boolean hasReadObject)
    throws IOException {

    if (hasReadObject) {
        if (calledDefaultWriteObject)
            stream.setState(IN_READ_OBJECT_DEFAULTS_SENT);
        else {
            try {
                if (stream.getStreamFormatVersion() == 2)
                    ((ValueInputStream)stream.getOrbStream()).start_value();
            } catch( Exception e ) {
                // This will happen for Big Integer which uses
                // writeFields in it's writeObject. We should be past
                // start_value by now.
                // NOTE: If we don't log any exception here we should
                // be fine. If there is an error, it will be caught
                // while reading the optional data.

            }
            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
    } else {
        if (calledDefaultWriteObject)
            stream.setState(NO_READ_OBJECT_DEFAULTS_SENT);
        else
            // XXX I18N and logging needed.
            throw new StreamCorruptedException("No default data sent");
    }
}
 
Example 22
Project: openjdk9   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) {

            // In stream format version 2, we can skip over
            // the optional data this way.  In stream format version 1,
            // we will probably wind up with an error if we're
            // unmarshaling a superclass.
            if (stream.getStreamFormatVersion() == 2) {
                ((ValueInputStream)stream.getOrbStream()).start_value();
                ((ValueInputStream)stream.getOrbStream()).end_value();
            }

            stream.setState(DEFAULT_STATE);
        }
 
Example 23
Project: openjdk9   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endDefaultReadObject(InputStreamHook stream) throws IOException {

            // Read the fake valuetype header in stream format version 2
            if (stream.getStreamFormatVersion() == 2)
                ((ValueInputStream)stream.getOrbStream()).start_value();

            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
 
Example 24
Project: openjdk9   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException
{
    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }
    stream.setState(DEFAULT_STATE);
}
 
Example 25
Project: openjdk9   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException {
    // Code should read default fields before calling this

    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).start_value();
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }

    stream.setState(DEFAULT_STATE);
}
 
Example 26
Project: lookaside_java-1.8.0-openjdk   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void beginUnmarshalCustomValue(InputStreamHook stream,
                                      boolean calledDefaultWriteObject,
                                      boolean hasReadObject)
    throws IOException {

    if (hasReadObject) {
        if (calledDefaultWriteObject)
            stream.setState(IN_READ_OBJECT_DEFAULTS_SENT);
        else {
            try {
                if (stream.getStreamFormatVersion() == 2)
                    ((ValueInputStream)stream.getOrbStream()).start_value();
            } catch( Exception e ) {
                // This will happen for Big Integer which uses
                // writeFields in it's writeObject. We should be past
                // start_value by now.
                // NOTE: If we don't log any exception here we should
                // be fine. If there is an error, it will be caught
                // while reading the optional data.

            }
            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
    } else {
        if (calledDefaultWriteObject)
            stream.setState(NO_READ_OBJECT_DEFAULTS_SENT);
        else
            // XXX I18N and logging needed.
            throw new StreamCorruptedException("No default data sent");
    }
}
 
Example 27
Project: lookaside_java-1.8.0-openjdk   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) {

            // In stream format version 2, we can skip over
            // the optional data this way.  In stream format version 1,
            // we will probably wind up with an error if we're
            // unmarshaling a superclass.
            if (stream.getStreamFormatVersion() == 2) {
                ((ValueInputStream)stream.getOrbStream()).start_value();
                ((ValueInputStream)stream.getOrbStream()).end_value();
            }

            stream.setState(DEFAULT_STATE);
        }
 
Example 28
Project: lookaside_java-1.8.0-openjdk   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endDefaultReadObject(InputStreamHook stream) throws IOException {

            // Read the fake valuetype header in stream format version 2
            if (stream.getStreamFormatVersion() == 2)
                ((ValueInputStream)stream.getOrbStream()).start_value();

            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
 
Example 29
Project: lookaside_java-1.8.0-openjdk   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException
{
    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }
    stream.setState(DEFAULT_STATE);
}
 
Example 30
Project: lookaside_java-1.8.0-openjdk   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException {
    // Code should read default fields before calling this

    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).start_value();
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }

    stream.setState(DEFAULT_STATE);
}
 
Example 31
Project: jdk8u_corba   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void beginUnmarshalCustomValue(InputStreamHook stream,
                                      boolean calledDefaultWriteObject,
                                      boolean hasReadObject)
    throws IOException {

    if (hasReadObject) {
        if (calledDefaultWriteObject)
            stream.setState(IN_READ_OBJECT_DEFAULTS_SENT);
        else {
            try {
                if (stream.getStreamFormatVersion() == 2)
                    ((ValueInputStream)stream.getOrbStream()).start_value();
            } catch( Exception e ) {
                // This will happen for Big Integer which uses
                // writeFields in it's writeObject. We should be past
                // start_value by now.
                // NOTE: If we don't log any exception here we should
                // be fine. If there is an error, it will be caught
                // while reading the optional data.

            }
            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
    } else {
        if (calledDefaultWriteObject)
            stream.setState(NO_READ_OBJECT_DEFAULTS_SENT);
        else
            // XXX I18N and logging needed.
            throw new StreamCorruptedException("No default data sent");
    }
}
 
Example 32
Project: jdk8u_corba   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) {

            // In stream format version 2, we can skip over
            // the optional data this way.  In stream format version 1,
            // we will probably wind up with an error if we're
            // unmarshaling a superclass.
            if (stream.getStreamFormatVersion() == 2) {
                ((ValueInputStream)stream.getOrbStream()).start_value();
                ((ValueInputStream)stream.getOrbStream()).end_value();
            }

            stream.setState(DEFAULT_STATE);
        }
 
Example 33
Project: jdk8u_corba   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endDefaultReadObject(InputStreamHook stream) throws IOException {

            // Read the fake valuetype header in stream format version 2
            if (stream.getStreamFormatVersion() == 2)
                ((ValueInputStream)stream.getOrbStream()).start_value();

            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
 
Example 34
Project: jdk8u_corba   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException
{
    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }
    stream.setState(DEFAULT_STATE);
}
 
Example 35
Project: jdk8u_corba   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException {
    // Code should read default fields before calling this

    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).start_value();
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }

    stream.setState(DEFAULT_STATE);
}
 
Example 36
Project: infobip-open-jdk-8   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void beginUnmarshalCustomValue(InputStreamHook stream,
                                      boolean calledDefaultWriteObject,
                                      boolean hasReadObject)
    throws IOException {

    if (hasReadObject) {
        if (calledDefaultWriteObject)
            stream.setState(IN_READ_OBJECT_DEFAULTS_SENT);
        else {
            try {
                if (stream.getStreamFormatVersion() == 2)
                    ((ValueInputStream)stream.getOrbStream()).start_value();
            } catch( Exception e ) {
                // This will happen for Big Integer which uses
                // writeFields in it's writeObject. We should be past
                // start_value by now.
                // NOTE: If we don't log any exception here we should
                // be fine. If there is an error, it will be caught
                // while reading the optional data.

            }
            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
    } else {
        if (calledDefaultWriteObject)
            stream.setState(NO_READ_OBJECT_DEFAULTS_SENT);
        else
            // XXX I18N and logging needed.
            throw new StreamCorruptedException("No default data sent");
    }
}
 
Example 37
Project: infobip-open-jdk-8   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) {

            // In stream format version 2, we can skip over
            // the optional data this way.  In stream format version 1,
            // we will probably wind up with an error if we're
            // unmarshaling a superclass.
            if (stream.getStreamFormatVersion() == 2) {
                ((ValueInputStream)stream.getOrbStream()).start_value();
                ((ValueInputStream)stream.getOrbStream()).end_value();
            }

            stream.setState(DEFAULT_STATE);
        }
 
Example 38
Project: infobip-open-jdk-8   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endDefaultReadObject(InputStreamHook stream) throws IOException {

            // Read the fake valuetype header in stream format version 2
            if (stream.getStreamFormatVersion() == 2)
                ((ValueInputStream)stream.getOrbStream()).start_value();

            stream.setState(IN_READ_OBJECT_OPT_DATA);
        }
 
Example 39
Project: infobip-open-jdk-8   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException
{
    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }
    stream.setState(DEFAULT_STATE);
}
 
Example 40
Project: infobip-open-jdk-8   File: InputStreamHook.java   View source code 5 votes vote down vote up
public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException {
    // Code should read default fields before calling this

    if (stream.getStreamFormatVersion() == 2) {
        ((ValueInputStream)stream.getOrbStream()).start_value();
        ((ValueInputStream)stream.getOrbStream()).end_value();
    }

    stream.setState(DEFAULT_STATE);
}