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 File: Message_1_2.java From jdk1.8-source-analysis with 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 File: IIOPProfileTemplateImpl.java From jdk1.8-source-analysis with 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 File: Message_1_2.java From openjdk-jdk9 with 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 4
Source File: IIOPProfileTemplateImpl.java From openjdk-8-source with 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 File: IIOPProfileTemplateImpl.java From openjdk-jdk9 with 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 6
Source File: Message_1_2.java From jdk8u60 with 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 7
Source File: IIOPProfileTemplateImpl.java From openjdk-jdk8u-backup with 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 File: Message_1_2.java From JDKSourceCode1.8 with 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 9
Source File: IIOPProfileTemplateImpl.java From openjdk-8 with 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 10
Source File: IIOPProfileTemplateImpl.java From JDKSourceCode1.8 with 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 11
Source File: Message_1_2.java From openjdk-jdk8u with 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 File: Message_1_2.java From openjdk-jdk8u-backup with 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 13
Source File: IIOPProfileTemplateImpl.java From openjdk-jdk8u with 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 14
Source File: CDREncapsCodec.java From openjdk-jdk9 with 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 15
Source File: CDREncapsCodec.java From openjdk-jdk8u-backup with 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 File: CDREncapsCodec.java From openjdk-jdk8u with 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 File: CDREncapsCodec.java From openjdk-8 with 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 File: CDREncapsCodec.java From openjdk-8-source with 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 File: CDREncapsCodec.java From hottub with 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 File: CDREncapsCodec.java From jdk1.8-source-analysis with 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 ); }