Java Code Examples for com.sun.corba.se.spi.ior.iiop.GIOPVersion#getInstance()
The following examples show how to use
com.sun.corba.se.spi.ior.iiop.GIOPVersion#getInstance() .
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 Project: jdk1.8-source-analysis File: Message_1_2.java License: Apache License 2.0 | 5 votes |
public void write(org.omg.CORBA.portable.OutputStream ostream) { if (this.encodingVersion == Message.CDR_ENC_VERSION) { super.write(ostream); return; } GIOPVersion gv = this.GIOP_version; // save this.GIOP_version = GIOPVersion.getInstance((byte)13, this.encodingVersion); super.write(ostream); this.GIOP_version = gv; // restore }
Example 2
Source Project: jdk1.8-source-analysis File: IIOPProfileTemplateImpl.java License: Apache License 2.0 | 5 votes |
public IIOPProfileTemplateImpl( InputStream istr ) { byte major = istr.read_octet() ; byte minor = istr.read_octet() ; giopVersion = GIOPVersion.getInstance( major, minor ) ; primary = new IIOPAddressImpl( istr ) ; orb = (ORB)(istr.orb()) ; // Handle any tagged components (if applicable) if (minor > 0) EncapsulationUtility.readIdentifiableSequence( this, orb.getTaggedComponentFactoryFinder(), istr ) ; makeImmutable() ; }
Example 3
Source Project: openjdk-8-source File: IIOPProfileTemplateImpl.java License: GNU General Public License v2.0 | 5 votes |
public IIOPProfileTemplateImpl( InputStream istr ) { byte major = istr.read_octet() ; byte minor = istr.read_octet() ; giopVersion = GIOPVersion.getInstance( major, minor ) ; primary = new IIOPAddressImpl( istr ) ; orb = (ORB)(istr.orb()) ; // Handle any tagged components (if applicable) if (minor > 0) EncapsulationUtility.readIdentifiableSequence( this, orb.getTaggedComponentFactoryFinder(), istr ) ; makeImmutable() ; }
Example 4
Source Project: openjdk-jdk9 File: IIOPProfileTemplateImpl.java License: GNU General Public License v2.0 | 5 votes |
public IIOPProfileTemplateImpl( InputStream istr ) { byte major = istr.read_octet() ; byte minor = istr.read_octet() ; giopVersion = GIOPVersion.getInstance( major, minor ) ; primary = new IIOPAddressImpl( istr ) ; orb = (ORB)(istr.orb()) ; // Handle any tagged components (if applicable) if (minor > 0) EncapsulationUtility.readIdentifiableSequence( this, orb.getTaggedComponentFactoryFinder(), istr ) ; makeImmutable() ; }
Example 5
Source Project: jdk8u60 File: Message_1_2.java License: GNU General Public License v2.0 | 5 votes |
public void write(org.omg.CORBA.portable.OutputStream ostream) { if (this.encodingVersion == Message.CDR_ENC_VERSION) { super.write(ostream); return; } GIOPVersion gv = this.GIOP_version; // save this.GIOP_version = GIOPVersion.getInstance((byte)13, this.encodingVersion); super.write(ostream); this.GIOP_version = gv; // restore }
Example 6
Source Project: JDKSourceCode1.8 File: Message_1_2.java License: MIT License | 5 votes |
public void write(org.omg.CORBA.portable.OutputStream ostream) { if (this.encodingVersion == Message.CDR_ENC_VERSION) { super.write(ostream); return; } GIOPVersion gv = this.GIOP_version; // save this.GIOP_version = GIOPVersion.getInstance((byte)13, this.encodingVersion); super.write(ostream); this.GIOP_version = gv; // restore }
Example 7
Source Project: openjdk-8 File: IIOPProfileTemplateImpl.java License: GNU General Public License v2.0 | 5 votes |
public IIOPProfileTemplateImpl( InputStream istr ) { byte major = istr.read_octet() ; byte minor = istr.read_octet() ; giopVersion = GIOPVersion.getInstance( major, minor ) ; primary = new IIOPAddressImpl( istr ) ; orb = (ORB)(istr.orb()) ; // Handle any tagged components (if applicable) if (minor > 0) EncapsulationUtility.readIdentifiableSequence( this, orb.getTaggedComponentFactoryFinder(), istr ) ; makeImmutable() ; }
Example 8
Source Project: JDKSourceCode1.8 File: IIOPProfileTemplateImpl.java License: MIT License | 5 votes |
public IIOPProfileTemplateImpl( InputStream istr ) { byte major = istr.read_octet() ; byte minor = istr.read_octet() ; giopVersion = GIOPVersion.getInstance( major, minor ) ; primary = new IIOPAddressImpl( istr ) ; orb = (ORB)(istr.orb()) ; // Handle any tagged components (if applicable) if (minor > 0) EncapsulationUtility.readIdentifiableSequence( this, orb.getTaggedComponentFactoryFinder(), istr ) ; makeImmutable() ; }
Example 9
Source Project: openjdk-jdk8u File: Message_1_2.java License: GNU General Public License v2.0 | 5 votes |
public void write(org.omg.CORBA.portable.OutputStream ostream) { if (this.encodingVersion == Message.CDR_ENC_VERSION) { super.write(ostream); return; } GIOPVersion gv = this.GIOP_version; // save this.GIOP_version = GIOPVersion.getInstance((byte)13, this.encodingVersion); super.write(ostream); this.GIOP_version = gv; // restore }
Example 10
Source Project: openjdk-jdk8u File: IIOPProfileTemplateImpl.java License: GNU General Public License v2.0 | 5 votes |
public IIOPProfileTemplateImpl( InputStream istr ) { byte major = istr.read_octet() ; byte minor = istr.read_octet() ; giopVersion = GIOPVersion.getInstance( major, minor ) ; primary = new IIOPAddressImpl( istr ) ; orb = (ORB)(istr.orb()) ; // Handle any tagged components (if applicable) if (minor > 0) EncapsulationUtility.readIdentifiableSequence( this, orb.getTaggedComponentFactoryFinder(), istr ) ; makeImmutable() ; }
Example 11
Source Project: openjdk-jdk8u-backup File: Message_1_2.java License: GNU General Public License v2.0 | 5 votes |
public void write(org.omg.CORBA.portable.OutputStream ostream) { if (this.encodingVersion == Message.CDR_ENC_VERSION) { super.write(ostream); return; } GIOPVersion gv = this.GIOP_version; // save this.GIOP_version = GIOPVersion.getInstance((byte)13, this.encodingVersion); super.write(ostream); this.GIOP_version = gv; // restore }
Example 12
Source Project: openjdk-jdk8u-backup File: IIOPProfileTemplateImpl.java License: GNU General Public License v2.0 | 5 votes |
public IIOPProfileTemplateImpl( InputStream istr ) { byte major = istr.read_octet() ; byte minor = istr.read_octet() ; giopVersion = GIOPVersion.getInstance( major, minor ) ; primary = new IIOPAddressImpl( istr ) ; orb = (ORB)(istr.orb()) ; // Handle any tagged components (if applicable) if (minor > 0) EncapsulationUtility.readIdentifiableSequence( this, orb.getTaggedComponentFactoryFinder(), istr ) ; makeImmutable() ; }
Example 13
Source Project: openjdk-jdk9 File: Message_1_2.java License: GNU General Public License v2.0 | 5 votes |
public void write(org.omg.CORBA.portable.OutputStream ostream) { if (this.encodingVersion == Message.CDR_ENC_VERSION) { super.write(ostream); return; } GIOPVersion gv = this.GIOP_version; // save this.GIOP_version = GIOPVersion.getInstance((byte)13, this.encodingVersion); super.write(ostream); this.GIOP_version = gv; // restore }
Example 14
Source Project: jdk1.8-source-analysis File: CDREncapsCodec.java License: Apache License 2.0 | 3 votes |
/** * Creates a new codec implementation. Uses the given ORB to create * CDRInputStreams when necessary. * * @param orb The ORB to use to create a CDRInputStream or CDROutputStream * @param major The major version of GIOP we are encoding for * @param minor The minor version of GIOP we are encoding for */ public CDREncapsCodec( ORB orb, int major, int minor ) { this.orb = orb; wrapper = ORBUtilSystemException.get( (com.sun.corba.se.spi.orb.ORB)orb, CORBALogDomains.RPC_PROTOCOL ) ; giopVersion = GIOPVersion.getInstance( (byte)major, (byte)minor ); }
Example 15
Source Project: hottub File: CDREncapsCodec.java License: GNU General Public License v2.0 | 3 votes |
/** * Creates a new codec implementation. Uses the given ORB to create * CDRInputStreams when necessary. * * @param orb The ORB to use to create a CDRInputStream or CDROutputStream * @param major The major version of GIOP we are encoding for * @param minor The minor version of GIOP we are encoding for */ public CDREncapsCodec( ORB orb, int major, int minor ) { this.orb = orb; wrapper = ORBUtilSystemException.get( (com.sun.corba.se.spi.orb.ORB)orb, CORBALogDomains.RPC_PROTOCOL ) ; giopVersion = GIOPVersion.getInstance( (byte)major, (byte)minor ); }
Example 16
Source Project: openjdk-8-source File: CDREncapsCodec.java License: GNU General Public License v2.0 | 3 votes |
/** * Creates a new codec implementation. Uses the given ORB to create * CDRInputStreams when necessary. * * @param orb The ORB to use to create a CDRInputStream or CDROutputStream * @param major The major version of GIOP we are encoding for * @param minor The minor version of GIOP we are encoding for */ public CDREncapsCodec( ORB orb, int major, int minor ) { this.orb = orb; wrapper = ORBUtilSystemException.get( (com.sun.corba.se.spi.orb.ORB)orb, CORBALogDomains.RPC_PROTOCOL ) ; giopVersion = GIOPVersion.getInstance( (byte)major, (byte)minor ); }
Example 17
Source Project: openjdk-8 File: CDREncapsCodec.java License: GNU General Public License v2.0 | 3 votes |
/** * Creates a new codec implementation. Uses the given ORB to create * CDRInputStreams when necessary. * * @param orb The ORB to use to create a CDRInputStream or CDROutputStream * @param major The major version of GIOP we are encoding for * @param minor The minor version of GIOP we are encoding for */ public CDREncapsCodec( ORB orb, int major, int minor ) { this.orb = orb; wrapper = ORBUtilSystemException.get( (com.sun.corba.se.spi.orb.ORB)orb, CORBALogDomains.RPC_PROTOCOL ) ; giopVersion = GIOPVersion.getInstance( (byte)major, (byte)minor ); }
Example 18
Source Project: openjdk-jdk8u File: CDREncapsCodec.java License: GNU General Public License v2.0 | 3 votes |
/** * Creates a new codec implementation. Uses the given ORB to create * CDRInputStreams when necessary. * * @param orb The ORB to use to create a CDRInputStream or CDROutputStream * @param major The major version of GIOP we are encoding for * @param minor The minor version of GIOP we are encoding for */ public CDREncapsCodec( ORB orb, int major, int minor ) { this.orb = orb; wrapper = ORBUtilSystemException.get( (com.sun.corba.se.spi.orb.ORB)orb, CORBALogDomains.RPC_PROTOCOL ) ; giopVersion = GIOPVersion.getInstance( (byte)major, (byte)minor ); }
Example 19
Source Project: openjdk-jdk8u-backup File: CDREncapsCodec.java License: GNU General Public License v2.0 | 3 votes |
/** * Creates a new codec implementation. Uses the given ORB to create * CDRInputStreams when necessary. * * @param orb The ORB to use to create a CDRInputStream or CDROutputStream * @param major The major version of GIOP we are encoding for * @param minor The minor version of GIOP we are encoding for */ public CDREncapsCodec( ORB orb, int major, int minor ) { this.orb = orb; wrapper = ORBUtilSystemException.get( (com.sun.corba.se.spi.orb.ORB)orb, CORBALogDomains.RPC_PROTOCOL ) ; giopVersion = GIOPVersion.getInstance( (byte)major, (byte)minor ); }
Example 20
Source Project: openjdk-jdk9 File: CDREncapsCodec.java License: GNU General Public License v2.0 | 3 votes |
/** * Creates a new codec implementation. Uses the given ORB to create * CDRInputStreams when necessary. * * @param orb The ORB to use to create a CDRInputStream or CDROutputStream * @param major The major version of GIOP we are encoding for * @param minor The minor version of GIOP we are encoding for */ public CDREncapsCodec( ORB orb, int major, int minor ) { this.orb = orb; wrapper = ORBUtilSystemException.get( (com.sun.corba.se.spi.orb.ORB)orb, CORBALogDomains.RPC_PROTOCOL ) ; giopVersion = GIOPVersion.getInstance( (byte)major, (byte)minor ); }