public ObjectAdapterBase(ORB orb) { this.orb = orb; _iorWrapper = POASystemException.get(orb, CORBALogDomains.OA_IOR); _lifecycleWrapper = POASystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); _omgLifecycleWrapper = OMGSystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); _invocationWrapper = POASystemException.get(orb, CORBALogDomains.OA_INVOCATION); _omgInvocationWrapper = OMGSystemException.get(orb, CORBALogDomains.OA_INVOCATION); }
public ObjectAdapterBase(ORB orb) { this.orb = orb; _iorWrapper = POASystemException.get(orb, CORBALogDomains.OA_IOR); _lifecycleWrapper = POASystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); _omgLifecycleWrapper = OMGSystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); _invocationWrapper = POASystemException.get(orb, CORBALogDomains.OA_INVOCATION); _omgInvocationWrapper = OMGSystemException.get(orb, CORBALogDomains.OA_INVOCATION); }
/** * NOTE: size passed to init means buffer size */ public void init(org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, BufferManagerRead bufferManager) { this.orb = (ORB) orb; this.wrapper = ORBUtilSystemException.get((ORB) orb, CORBALogDomains.RPC_ENCODING); this.omgWrapper = OMGSystemException.get((ORB) orb, CORBALogDomains.RPC_ENCODING); this.littleEndian = littleEndian; this.bufferManagerRead = bufferManager; this.bbwi = new ByteBufferWithInfo(orb, byteBuffer, 0); this.bbwi.buflen = size; this.bbwi.byteBuffer.limit(bbwi.buflen); this.markAndResetHandler = bufferManagerRead.getMarkAndResetHandler(); debug = ((ORB) orb).transportDebugFlag; }
/** * NOTE: size passed to init means buffer size */ public void init(org.omg.CORBA.ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, BufferManagerRead bufferManager) { this.orb = (ORB) orb; this.wrapper = ORBUtilSystemException.get((ORB) orb, CORBALogDomains.RPC_ENCODING); this.omgWrapper = OMGSystemException.get((ORB) orb, CORBALogDomains.RPC_ENCODING); this.littleEndian = littleEndian; this.bufferManagerRead = bufferManager; this.bbwi = new ByteBufferWithInfo(orb, byteBuffer, 0); this.bbwi.buflen = size; this.bbwi.byteBuffer.limit(bbwi.buflen); this.markAndResetHandler = bufferManagerRead.getMarkAndResetHandler(); debug = ((ORB) orb).transportDebugFlag; }
private CDROutputObject(ORB orb, GIOPVersion giopVersion, Message header, BufferManagerWrite manager, byte streamFormatVersion, CorbaMessageMediator mediator) { super(orb, giopVersion, header.getEncodingVersion(), false, manager, streamFormatVersion, ((mediator != null && mediator.getConnection() != null) ? ((CorbaConnection) mediator.getConnection()) .shouldUseDirectByteBuffers() : false)); this.header = header; this.wrapper = ORBUtilSystemException.get(orb, CORBALogDomains.RPC_ENCODING); this.omgWrapper = OMGSystemException.get(orb, CORBALogDomains.RPC_ENCODING); getBufferManager().setOutputObject(this); this.corbaMessageMediator = mediator; }
public void init(ORB orb) { this.orb = orb; wrapper = POASystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); omgWrapper = OMGSystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); delegateImpl = new DelegateImpl(orb, this); registerRootPOA(); POACurrent poaCurrent = new POACurrent(orb); orb.getLocalResolver().register(ORBConstants.POA_CURRENT_NAME, ClosureFactory.makeConstant(poaCurrent)); }
public void init(ORB orb) { this.orb = orb; wrapper = POASystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); omgWrapper = OMGSystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); delegateImpl = new DelegateImpl(orb, this); registerRootPOA(); POACurrent poaCurrent = new POACurrent(orb); orb.getLocalResolver().register(ORBConstants.POA_CURRENT_NAME, ClosureFactory.makeConstant(poaCurrent)); }
private CDROutputObject(ORB orb, GIOPVersion giopVersion, Message header, BufferManagerWrite manager, byte streamFormatVersion, CorbaMessageMediator mediator) { super(orb, giopVersion, header.getEncodingVersion(), false, manager, streamFormatVersion, ((mediator != null && mediator.getConnection() != null) ? ((CorbaConnection) mediator.getConnection()) .shouldUseDirectByteBuffers() : false)); this.header = header; this.wrapper = ORBUtilSystemException.get(orb, CORBALogDomains.RPC_ENCODING); this.omgWrapper = OMGSystemException.get(orb, CORBALogDomains.RPC_ENCODING); getBufferManager().setOutputObject(this); this.corbaMessageMediator = mediator; }
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.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()); }
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.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()); }
omgWrapper = OMGSystemException.get(this, CORBALogDomains.RPC_PRESENTATION);
omgWrapper = OMGSystemException.get(this, CORBALogDomains.RPC_PRESENTATION);