OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 26 matching lines...) Loading... |
37 | 37 |
38 void DoLogin(const buzz::XmppClientSettings & xcs, | 38 void DoLogin(const buzz::XmppClientSettings & xcs, |
39 buzz::AsyncSocket* socket, | 39 buzz::AsyncSocket* socket, |
40 buzz::PreXmppAuth* auth); | 40 buzz::PreXmppAuth* auth); |
41 void DoDisconnect(); | 41 void DoDisconnect(); |
42 | 42 |
43 void OnStateChange(buzz::XmppEngine::State state); | 43 void OnStateChange(buzz::XmppEngine::State state); |
44 | 44 |
45 void WakeTasks(); | 45 void WakeTasks(); |
46 | 46 |
47 int64 CurrentTime(); | 47 int64_t CurrentTime(); |
48 | 48 |
49 void OnMessage(rtc::Message *pmsg); | 49 void OnMessage(rtc::Message *pmsg); |
50 | 50 |
51 buzz::XmppReturnStatus SendStanza(const buzz::XmlElement *stanza); | 51 buzz::XmppReturnStatus SendStanza(const buzz::XmlElement *stanza); |
52 | 52 |
53 private: | 53 private: |
54 buzz::XmppClient *client_; | 54 buzz::XmppClient *client_; |
55 buzz::XmppEngine::State state_; | 55 buzz::XmppEngine::State state_; |
56 buzz::XmppPumpNotify *notify_; | 56 buzz::XmppPumpNotify *notify_; |
57 }; | 57 }; |
58 | 58 |
59 } // namespace buzz | 59 } // namespace buzz |
60 | 60 |
61 #endif // WEBRTC_LIBJINGLE_XMPP_XMPPPUMP_H_ | 61 #endif // WEBRTC_LIBJINGLE_XMPP_XMPPPUMP_H_ |
62 | 62 |
OLD | NEW |