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

The following examples show how to use org.omg.CORBA.portable.InputStream#read_longlong() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CorbaObjectWriterTest.java    From cxf with Apache License 2.0 5 votes vote down vote up
@Test
public void testWriteLongLong() {
    OutputStream oStream = orb.create_output_stream();

    CorbaObjectWriter writer = new CorbaObjectWriter(oStream);
    Long longlongValue = Long.valueOf("-12345678900");
    writer.writeLongLong(longlongValue);

    InputStream iStream = oStream.create_input_stream();
    long ll = iStream.read_longlong();
    assertTrue(ll == longlongValue.longValue());
}
 
Example 2
Source File: LongHolder.java    From jdk1.8-source-analysis with Apache License 2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 3
Source File: LongHolder.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 4
Source File: LongHolder.java    From jdk8u60 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 5
Source File: LongHolder.java    From JDKSourceCode1.8 with MIT License 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 6
Source File: LongHolder.java    From openjdk-jdk8u with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 7
Source File: LongHolder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 8
Source File: LongHolder.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Reads from {@code input} and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 9
Source File: LongHolder.java    From Java8CN with Apache License 2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 10
Source File: LongHolder.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 11
Source File: LongHolder.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}
 
Example 12
Source File: LongHolder.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Reads from <code>input</code> and initalizes the value in the Holder
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
    value = input.read_longlong();
}