Java Code Examples for com.sun.corba.se.impl.encoding.BufferManagerFactory#newBufferManagerRead()
The following examples show how to use
com.sun.corba.se.impl.encoding.BufferManagerFactory#newBufferManagerRead() .
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: EncapsInputStream.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
/** * Full constructor with a CodeBase parameter useful for * unmarshaling RMI-IIOP valuetypes (technically against the * intention of an encapsulation, but necessary due to OMG * issue 4795. Used by ServiceContexts. */ public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] data, int size, GIOPVersion version, CodeBase codeBase) { super(orb, ByteBuffer.wrap(data), size, false, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); this.codeBase = codeBase; performORBVersionSpecificInit(); }
Example 2
Source File: EncapsInputStream.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Full constructor with a CodeBase parameter useful for * unmarshaling RMI-IIOP valuetypes (technically against the * intention of an encapsulation, but necessary due to OMG * issue 4795. Used by ServiceContexts. */ public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] data, int size, GIOPVersion version, CodeBase codeBase) { super(orb, ByteBuffer.wrap(data), size, false, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); this.codeBase = codeBase; performORBVersionSpecificInit(); }
Example 3
Source File: EncapsInputStream.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Full constructor with a CodeBase parameter useful for * unmarshaling RMI-IIOP valuetypes (technically against the * intention of an encapsulation, but necessary due to OMG * issue 4795. Used by ServiceContexts. */ public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] data, int size, GIOPVersion version, CodeBase codeBase) { super(orb, ByteBuffer.wrap(data), size, false, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); this.codeBase = codeBase; performORBVersionSpecificInit(); }
Example 4
Source File: EncapsInputStream.java From JDKSourceCode1.8 with MIT License | 6 votes |
/** * Full constructor with a CodeBase parameter useful for * unmarshaling RMI-IIOP valuetypes (technically against the * intention of an encapsulation, but necessary due to OMG * issue 4795. Used by ServiceContexts. */ public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] data, int size, GIOPVersion version, CodeBase codeBase) { super(orb, ByteBuffer.wrap(data), size, false, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); this.codeBase = codeBase; performORBVersionSpecificInit(); }
Example 5
Source File: EncapsInputStream.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Full constructor with a CodeBase parameter useful for * unmarshaling RMI-IIOP valuetypes (technically against the * intention of an encapsulation, but necessary due to OMG * issue 4795. Used by ServiceContexts. */ public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] data, int size, GIOPVersion version, CodeBase codeBase) { super(orb, ByteBuffer.wrap(data), size, false, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); this.codeBase = codeBase; performORBVersionSpecificInit(); }
Example 6
Source File: EncapsInputStream.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] buf, int size, boolean littleEndian, GIOPVersion version) { super(orb, ByteBuffer.wrap(buf), size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); wrapper = ORBUtilSystemException.get( (ORB)orb, CORBALogDomains.RPC_ENCODING ) ; performORBVersionSpecificInit(); }
Example 7
Source File: EncapsInputStream.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] buf, int size, boolean littleEndian, GIOPVersion version) { super(orb, ByteBuffer.wrap(buf), size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); wrapper = ORBUtilSystemException.get( (ORB)orb, CORBALogDomains.RPC_ENCODING ) ; performORBVersionSpecificInit(); }
Example 8
Source File: EncapsInputStream.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] buf, int size, boolean littleEndian, GIOPVersion version) { super(orb, ByteBuffer.wrap(buf), size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); wrapper = ORBUtilSystemException.get( (ORB)orb, CORBALogDomains.RPC_ENCODING ) ; performORBVersionSpecificInit(); }
Example 9
Source File: CDRInputObject.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public CDRInputObject(ORB orb, CorbaConnection corbaConnection, ByteBuffer byteBuffer, Message header) { super(orb, byteBuffer, header.getSize(), header.isLittleEndian(), header.getGIOPVersion(), header.getEncodingVersion(), BufferManagerFactory.newBufferManagerRead( header.getGIOPVersion(), header.getEncodingVersion(), orb)); this.corbaConnection = corbaConnection; this.orb = orb ; this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; this.omgWrapper = OMGSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; if (orb.transportDebugFlag) { dprint(".CDRInputObject constructor:"); } getBufferManager().init(header); this.header = header; unmarshaledHeader = false; setIndex(Message.GIOPMessageHeaderLength); setBufferLength(header.getSize()); }
Example 10
Source File: CDRInputObject.java From JDKSourceCode1.8 with MIT License | 5 votes |
public CDRInputObject(ORB orb, CorbaConnection corbaConnection, ByteBuffer byteBuffer, Message header) { super(orb, byteBuffer, header.getSize(), header.isLittleEndian(), header.getGIOPVersion(), header.getEncodingVersion(), BufferManagerFactory.newBufferManagerRead( header.getGIOPVersion(), header.getEncodingVersion(), orb)); this.corbaConnection = corbaConnection; this.orb = orb ; this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; this.omgWrapper = OMGSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; if (orb.transportDebugFlag) { dprint(".CDRInputObject constructor:"); } getBufferManager().init(header); this.header = header; unmarshaledHeader = false; setIndex(Message.GIOPMessageHeaderLength); setBufferLength(header.getSize()); }
Example 11
Source File: EncapsInputStream.java From JDKSourceCode1.8 with MIT License | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version) { super(orb, byteBuffer, size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (com.sun.corba.se.spi.orb.ORB)orb)); performORBVersionSpecificInit(); }
Example 12
Source File: CDRInputObject.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public CDRInputObject(ORB orb, CorbaConnection corbaConnection, ByteBuffer byteBuffer, Message header) { super(orb, byteBuffer, header.getSize(), header.isLittleEndian(), header.getGIOPVersion(), header.getEncodingVersion(), BufferManagerFactory.newBufferManagerRead( header.getGIOPVersion(), header.getEncodingVersion(), orb)); this.corbaConnection = corbaConnection; this.orb = orb ; this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; this.omgWrapper = OMGSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; if (orb.transportDebugFlag) { dprint(".CDRInputObject constructor:"); } getBufferManager().init(header); this.header = header; unmarshaledHeader = false; setIndex(Message.GIOPMessageHeaderLength); setBufferLength(header.getSize()); }
Example 13
Source File: CDRInputObject.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public CDRInputObject(ORB orb, CorbaConnection corbaConnection, ByteBuffer byteBuffer, Message header) { super(orb, byteBuffer, header.getSize(), header.isLittleEndian(), header.getGIOPVersion(), header.getEncodingVersion(), BufferManagerFactory.newBufferManagerRead( header.getGIOPVersion(), header.getEncodingVersion(), orb)); this.corbaConnection = corbaConnection; this.orb = orb ; this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; this.omgWrapper = OMGSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; if (orb.transportDebugFlag) { dprint(".CDRInputObject constructor:"); } getBufferManager().init(header); this.header = header; unmarshaledHeader = false; setIndex(Message.GIOPMessageHeaderLength); setBufferLength(header.getSize()); }
Example 14
Source File: EncapsInputStream.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version) { super(orb, byteBuffer, size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (com.sun.corba.se.spi.orb.ORB)orb)); performORBVersionSpecificInit(); }
Example 15
Source File: EncapsInputStream.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, byte[] buf, int size, boolean littleEndian, GIOPVersion version) { super(orb, ByteBuffer.wrap(buf), size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (ORB)orb)); wrapper = ORBUtilSystemException.get( (ORB)orb, CORBALogDomains.RPC_ENCODING ) ; performORBVersionSpecificInit(); }
Example 16
Source File: EncapsInputStream.java From hottub with GNU General Public License v2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version) { super(orb, byteBuffer, size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (com.sun.corba.se.spi.orb.ORB)orb)); performORBVersionSpecificInit(); }
Example 17
Source File: EncapsInputStream.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version) { super(orb, byteBuffer, size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (com.sun.corba.se.spi.orb.ORB)orb)); performORBVersionSpecificInit(); }
Example 18
Source File: EncapsInputStream.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version) { super(orb, byteBuffer, size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (com.sun.corba.se.spi.orb.ORB)orb)); performORBVersionSpecificInit(); }
Example 19
Source File: CDRInputObject.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public CDRInputObject(ORB orb, CorbaConnection corbaConnection, ByteBuffer byteBuffer, Message header) { super(orb, byteBuffer, header.getSize(), header.isLittleEndian(), header.getGIOPVersion(), header.getEncodingVersion(), BufferManagerFactory.newBufferManagerRead( header.getGIOPVersion(), header.getEncodingVersion(), orb)); this.corbaConnection = corbaConnection; this.orb = orb ; this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; this.omgWrapper = OMGSystemException.get( orb, CORBALogDomains.RPC_ENCODING ) ; if (orb.transportDebugFlag) { dprint(".CDRInputObject constructor:"); } getBufferManager().init(header); this.header = header; unmarshaledHeader = false; setIndex(Message.GIOPMessageHeaderLength); setBufferLength(header.getSize()); }
Example 20
Source File: EncapsInputStream.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public EncapsInputStream(org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version) { super(orb, byteBuffer, size, littleEndian, version, Message.CDR_ENC_VERSION, BufferManagerFactory.newBufferManagerRead( BufferManagerFactory.GROW, Message.CDR_ENC_VERSION, (com.sun.corba.se.spi.orb.ORB)orb)); performORBVersionSpecificInit(); }