Java Code Examples for org.omg.CORBA.portable.OutputStream#write_longlong()

The following examples show how to use org.omg.CORBA.portable.OutputStream#write_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: CorbaObjectReaderTest.java    From cxf with Apache License 2.0 5 votes vote down vote up
@Test
public void testReadLongLong() {
    OutputStream oStream = orb.create_output_stream();
    oStream.write_longlong(1000000000);

    InputStream iStream = oStream.create_input_stream();
    CorbaObjectReader reader = new CorbaObjectReader(iStream);

    Long longlongValue = reader.readLongLong();
    assertTrue(longlongValue.longValue() == 1000000000);
}
 
Example 2
Source File: LongHolder.java    From jdk1.8-source-analysis with Apache License 2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 3
Source File: LongHolder.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 4
Source File: LongHolder.java    From jdk8u60 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 5
Source File: LongHolder.java    From JDKSourceCode1.8 with MIT License 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 6
Source File: LongHolder.java    From openjdk-jdk8u with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 7
Source File: LongHolder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 8
Source File: LongHolder.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Marshals to {@code output} the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 9
Source File: LongHolder.java    From Java8CN with Apache License 2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 10
Source File: LongHolder.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 11
Source File: LongHolder.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}
 
Example 12
Source File: LongHolder.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Marshals to <code>output</code> the value in the Holder.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
    output.write_longlong(value);
}