OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:peer_id
(Results
1 - 9
of
9
) sorted by null
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
peer_connection_client.h
47
virtual void OnPeerDisconnected(int
peer_id
) = 0;
48
virtual void OnMessageFromPeer(int
peer_id
, const std::string& message) = 0;
80
bool SendToPeer(int
peer_id
, const std::string& message);
81
bool SendHangUp(int
peer_id
);
96
void OnMessageFromPeer(int
peer_id
, const std::string& message);
120
size_t*
peer_id
, size_t* eoh);
peer_connection_client.cc
174
bool PeerConnectionClient::SendToPeer(int
peer_id
, const std::string& message) {
180
if (!is_connected() ||
peer_id
== -1)
185
"POST /message?
peer_id
=%i&to=%i HTTP/1.0\r\n"
189
my_id_,
peer_id
, message.length());
195
bool PeerConnectionClient::SendHangUp(int
peer_id
) {
196
return SendToPeer(
peer_id
, kByeMessage);
217
"GET /sign_out?
peer_id
=%i HTTP/1.0\r\n\r\n", my_id_);
265
"GET /wait?
peer_id
=%i HTTP/1.0\r\n\r\n", my_id_);
272
void PeerConnectionClient::OnMessageFromPeer(int
peer_id
,
276
callback_->OnPeerDisconnected(
peer_id
);
352
size_t
peer_id
= 0, eoh = 0;
local
404
size_t
peer_id
= 0, eoh = 0;
local
[
all
...]
conductor.h
104
virtual void OnMessageFromPeer(int
peer_id
, const std::string& message);
118
virtual void ConnectToPeer(int
peer_id
);
conductor.cc
214
void Conductor::OnMessageFromPeer(int
peer_id
, const std::string& message) {
215
ASSERT(peer_id_ ==
peer_id
|| peer_id_ == -1);
220
peer_id_ =
peer_id
;
227
} else if (
peer_id
!= peer_id_) {
316
void Conductor::ConnectToPeer(int
peer_id
) {
318
ASSERT(
peer_id
!= -1);
327
peer_id_ =
peer_id
;
main_wnd.h
47
virtual void ConnectToPeer(int
peer_id
) = 0;
main_wnd.cc
348
LRESULT
peer_id
= ::SendMessage(listbox_, LB_GETITEMDATA, sel, 0);
local
349
if (
peer_id
!= -1 && callback_) {
350
callback_->ConnectToPeer(
peer_id
);
/external/chromium_org/ui/views/controls/webview/
webview.h
131
virtual void OnChannelConnected(int32
peer_id
) OVERRIDE {}
/system/core/adb/
sockets.c
67
// If |
peer_id
| is not 0, also check that it is connected to a peer
68
// with id |
peer_id
|. Returns an asocket handle on success, NULL on failure.
69
asocket *find_local_socket(unsigned local_id, unsigned
peer_id
)
78
if (
peer_id
== 0 || (s->peer && s->peer->id ==
peer_id
)) {
/external/chromium_org/net/socket/
ssl_client_socket_nss.cc
3232
std::string
peer_id
= host_and_port_.ToString();
local
[
all
...]
Completed in 216 milliseconds