acceptor.cxx (2722cedd) acceptor.cxx (796b7e2a)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 110 unchanged lines hidden (view full) ---

119 m_cEnable.wait();
120 if (m_bDying) //see destructor
121 break;
122 RTL_LOGFILE_CONTEXT_TRACE( aLog, "desktop (lo119109)"\
123 "Acceptor::run now enabled and continuing");
124
125 // accept connection
126 Reference< XConnection > rConnection = m_rAcceptor->accept( m_aConnectString );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 110 unchanged lines hidden (view full) ---

119 m_cEnable.wait();
120 if (m_bDying) //see destructor
121 break;
122 RTL_LOGFILE_CONTEXT_TRACE( aLog, "desktop (lo119109)"\
123 "Acceptor::run now enabled and continuing");
124
125 // accept connection
126 Reference< XConnection > rConnection = m_rAcceptor->accept( m_aConnectString );
127 // if we return without a valid connection we mus assume that the acceptor
127 // if we return without a valid connection we must assume that the acceptor
128 // is destructed so we break out of the run method terminating the thread
129 if (! rConnection.is()) break;
130 OUString aDescription = rConnection->getDescription();
131 RTL_LOGFILE_CONTEXT_TRACE1( aLog, "desktop (lo119109) Acceptor::run connection %s",
132 OUStringToOString(aDescription, RTL_TEXTENCODING_ASCII_US).getStr());
133
134 // create instanceprovider for this connection
135 Reference< XInstanceProvider > rInstanceProvider(

--- 211 unchanged lines hidden ---
128 // is destructed so we break out of the run method terminating the thread
129 if (! rConnection.is()) break;
130 OUString aDescription = rConnection->getDescription();
131 RTL_LOGFILE_CONTEXT_TRACE1( aLog, "desktop (lo119109) Acceptor::run connection %s",
132 OUStringToOString(aDescription, RTL_TEXTENCODING_ASCII_US).getStr());
133
134 // create instanceprovider for this connection
135 Reference< XInstanceProvider > rInstanceProvider(

--- 211 unchanged lines hidden ---