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

The following examples show how to use com.sun.corba.se.spi.ior.TaggedComponent. 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: TaggedComponentFactoryFinderImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #2
Source File: TaggedComponentFactoryFinderImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #3
Source File: TaggedComponentFactoryFinderImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #4
Source File: TaggedComponentFactoryFinderImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #5
Source File: TaggedComponentFactoryFinderImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #6
Source File: TaggedComponentFactoryFinderImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #7
Source File: TaggedComponentFactoryFinderImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #8
Source File: TaggedComponentFactoryFinderImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #9
Source File: TaggedComponentFactoryFinderImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #10
Source File: TaggedComponentFactoryFinderImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
{
    EncapsOutputStream os =
        sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
}
 
Example #11
Source File: GenericTaggedComponent.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #12
Source File: GenericTaggedComponent.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #13
Source File: GenericTaggedComponent.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #14
Source File: GenericTaggedComponent.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #15
Source File: GenericTaggedComponent.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #16
Source File: GenericTaggedComponent.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #17
Source File: GenericTaggedComponent.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #18
Source File: GenericTaggedComponent.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #19
Source File: GenericTaggedComponent.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}
 
Example #20
Source File: GenericTaggedComponent.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
/**
 * @return org.omg.IOP.TaggedComponent
 * @exception
 * @author
 */
public org.omg.IOP.TaggedComponent getIOPComponent( ORB orb )
{
    return new org.omg.IOP.TaggedComponent( getId(),
        getData() ) ;
}