public CorbaConnection getConnection() { // REVISIT - only set when doing sendCancelRequest. if (connection != null) { return connection; } return (CorbaConnection) corbaMessageMediator.getConnection(); }
public CorbaConnection getConnection() { // REVISIT - only set when doing sendCancelRequest. if (connection != null) { return connection; } return (CorbaConnection) corbaMessageMediator.getConnection(); }
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; }
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; }