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

The following are Jave code examples for showing how to use orb() 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: ORBUtility.java   Source Code and License Vote up 5 votes
public static SystemException extractSystemException(Any any) {
    InputStream in = any.create_input_stream();
    ORB orb = (ORB)(in.orb());
    if ( ! isSystemExceptionTypeCode(any.type(), orb)) {
        throw wrapper.unknownDsiSysex(CompletionStatus.COMPLETED_MAYBE);
    }
    return ORBUtility.readSystemException(in);
}
 
Example 2
Project: openjdk-jdk10   File: ORBUtility.java   Source Code and License Vote up 5 votes
public static SystemException extractSystemException(Any any) {
    InputStream in = any.create_input_stream();
    ORB orb = (ORB)(in.orb());
    if ( ! isSystemExceptionTypeCode(any.type(), orb)) {
        throw wrapper.unknownDsiSysex(CompletionStatus.COMPLETED_MAYBE);
    }
    return ORBUtility.readSystemException(in);
}
 
Example 3
Project: OpenJSharp   File: ObjectReferenceTemplateImpl.java   Source Code and License Vote up 4 votes
public ObjectReferenceTemplateImpl( InputStream is )
{
    super( (ORB)(is.orb()) ) ;
    _read( is ) ;
}
 
Example 4
Project: OpenJSharp   File: ObjectReferenceFactoryImpl.java   Source Code and License Vote up 4 votes
public ObjectReferenceFactoryImpl( InputStream is )
{
    super( (ORB)(is.orb()) ) ;
    _read( is ) ;
}
 
Example 5
Project: openjdk-jdk10   File: ObjectReferenceTemplateImpl.java   Source Code and License Vote up 4 votes
public ObjectReferenceTemplateImpl( InputStream is )
{
    super( (ORB)(is.orb()) ) ;
    _read( is ) ;
}
 
Example 6
Project: openjdk-jdk10   File: ObjectReferenceFactoryImpl.java   Source Code and License Vote up 4 votes
public ObjectReferenceFactoryImpl( InputStream is )
{
    super( (ORB)(is.orb()) ) ;
    _read( is ) ;
}