Lines Matching refs:stream_
166 : factory_(factory), stream_(NULL), checked_out_(false) {
171 delete stream_;
178 if (!stream_) {
187 stream_ = new SocketStream(socket);
189 if ((stream_->GetState() == SS_OPEN) && (remote == remote_)) {
193 stream_->Close();
194 if ((stream_->GetSocket()->Connect(remote_) != 0)
195 && !stream_->GetSocket()->IsBlocking()) {
197 *err = stream_->GetSocket()->GetError();
203 stream_->SignalEvent.disconnect(this);
207 return stream_;
212 ASSERT(stream == stream_);
216 stream_->SignalEvent.connect(this, &ReuseSocketPool::OnStreamEvent);
221 ASSERT(stream == stream_);
240 stream_->Close();