com.sun.corba.se.spi.ior.WriteContents Java Examples

The following examples show how to use com.sun.corba.se.spi.ior.WriteContents. 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: EncapsulationUtility.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #2
Source File: EncapsulationUtility.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #3
Source File: EncapsulationUtility.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #4
Source File: EncapsulationUtility.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #5
Source File: EncapsulationUtility.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #6
Source File: EncapsulationUtility.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #7
Source File: EncapsulationUtility.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #8
Source File: EncapsulationUtility.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #9
Source File: EncapsulationUtility.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #10
Source File: EncapsulationUtility.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
static public void writeEncapsulation( WriteContents obj,
    OutputStream os )
{
    EncapsOutputStream out =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)os.orb());

    out.putEndian() ;

    obj.writeContents( out ) ;

    writeOutputStream( out, os ) ;
}
 
Example #11
Source File: IdentifiableBase.java    From openjdk-jdk8u with GNU General Public License v2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #12
Source File: IdentifiableBase.java    From JDKSourceCode1.8 with MIT License 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #13
Source File: IdentifiableBase.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #14
Source File: IdentifiableBase.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #15
Source File: IdentifiableBase.java    From jdk8u60 with GNU General Public License v2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #16
Source File: IdentifiableBase.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #17
Source File: IdentifiableBase.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #18
Source File: IdentifiableBase.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #19
Source File: IdentifiableBase.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}
 
Example #20
Source File: IdentifiableBase.java    From jdk1.8-source-analysis with Apache License 2.0 2 votes vote down vote up
/** Write the data for this object as a CDR encapsulation.
* This is used for writing tagged components and profiles.
* These data types must be written out as encapsulations,
* which means that we need to first write the data out to
* an encapsulation stream, then extract the data and write
* it to os as an array of octets.
*/
final public void write( OutputStream os )
{
    EncapsulationUtility.writeEncapsulation( (WriteContents)this, os ) ;
}