internal GiopClientConnectionDesc(GiopClientConnectionManager conManager, GiopClientConnection connection, GiopRequestNumberGenerator reqNumberGen, GiopTransportMessageHandler transportHandler) : base(conManager, transportHandler) { m_reqNumGen = reqNumberGen; m_connection = connection; }
/// <param name="connectionKey">the key describing the connection</param> internal GiopBidirInitiatedConnection(string connectionKey, GiopTransportMessageHandler transportHandler, GiopClientConnectionManager conManager) { GiopRequestNumberGenerator reqNumberGen = new GiopRequestNumberGenerator(false); // not connection originator -> create non-even req. numbers GiopClientConnectionDesc conDesc = new GiopClientConnectionDesc(conManager, this, reqNumberGen, transportHandler); Initalize(connectionKey, transportHandler, conDesc); }
/// <param name="connectionKey">the key describing the connection</param> /// <param name="transport">a not yet connected client transport</param> /// <param name="headerFlags">the header flags to use for transport related giop messages.</param> internal GiopClientInitiatedConnection(string connectionKey, IClientTransport transport, MessageTimeout requestTimeOut, GiopClientConnectionManager conManager, bool supportBidir, byte headerFlags) { GiopRequestNumberGenerator reqNumberGen = (!supportBidir ? new GiopRequestNumberGenerator() : new GiopRequestNumberGenerator(true)); GiopTransportMessageHandler handler = new GiopTransportMessageHandler(transport, requestTimeOut, headerFlags); GiopClientConnectionDesc conDesc = new GiopClientConnectionDesc(conManager, this, reqNumberGen, handler); m_clientTransport = transport; Initalize(connectionKey, handler, conDesc); }