Java Code Examples for org.omg.CORBA.portable.InputStream.read_short()

The following are Jave code examples for showing how to use read_short() of the org.omg.CORBA.portable.InputStream class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: OpenJSharp   File: ShortHolder.java   Source Code and License Vote up 2 votes
/**
 * Reads from <code>input</code> and initalizes the value in
 * this <code>ShortHolder</code> object
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire.
 */
public void _read(InputStream input) {
    value = input.read_short();
}
 
Example 2
Project: openjdk-jdk10   File: ShortHolder.java   Source Code and License Vote up 2 votes
/**
 * Reads from {@code input} and initalizes the value in
 * this {@code ShortHolder} object
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire.
 */
public void _read(InputStream input) {
    value = input.read_short();
}