Lines Matching refs:engine_
55 engine_(NULL),
67 talk_base::scoped_ptr<XmppEngine> engine_;
105 d_->engine_.reset(XmppEngine::Create());
106 d_->engine_->SetSessionHandler(d_.get());
107 d_->engine_->SetOutputHandler(d_.get());
109 d_->engine_->SetRequestedResource(settings.resource());
111 d_->engine_->SetUseTls(settings.use_tls());
126 d_->engine_->SetTlsServer(buzz::STR_GMAIL_COM, buzz::STR_GMAIL_COM);
130 d_->engine_->SetLanguage(lang);
132 d_->engine_->SetUser(buzz::Jid(settings.user(), settings.host(), STR_EMPTY));
147 if (d_->engine_.get() == NULL)
149 return d_->engine_->GetState();
157 if (d_->engine_.get() == NULL)
165 return d_->engine_->GetError(subcode);
170 if (d_->engine_.get() == NULL) {
173 return d_->engine_->GetStreamError();
177 if (d_->engine_.get() == NULL)
184 if (d_->engine_.get() == NULL)
194 d_->engine_->GetUser(), d_->server_, d_->pass_, d_->auth_cookie_);
199 d_->engine_->SetSaslHandler(new PlainSaslHandler(
200 d_->engine_->GetUser(), d_->pass_, d_->allow_plain_));
244 d_->engine_->SetSaslHandler(d_->pre_auth_.release());
262 if (!delivering_signal_ && (d_->engine_.get() == NULL ||
263 d_->engine_->GetState() == XmppEngine::STATE_CLOSED))
272 d_->engine_->Disconnect();
291 return d_->engine_->FullJid();
297 return d_->engine_->NextId();
302 return d_->engine_->SendStanza(stanza);
307 return d_->engine_->SendStanzaError(old_stanza, xse, message);
312 return d_->engine_->SendRaw(text);
317 return d_->engine_.get();
322 engine_->Connect();
342 engine_->HandleInput(bytes, bytes_read);
349 engine_->ConnectionClosed(code);
388 d_->engine_->AddStanzaHandler(task, level);
393 d_->engine_->RemoveStanzaHandler(task);