HomeSort by relevance Sort by last modified time
    Searched refs:DataSocket (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
peer_channel.h 38 class DataSocket;
43 explicit ChannelMember(DataSocket* socket);
49 bool is_wait_request(DataSocket* ds) const;
61 void ForwardRequestToPeer(DataSocket* ds, ChannelMember* peer);
63 void OnClosing(DataSocket* ds);
68 void SetWaitingSocket(DataSocket* ds);
75 DataSocket* waiting_socket_;
100 static bool IsPeerConnection(const DataSocket* ds);
103 ChannelMember* Lookup(DataSocket* ds) const;
107 ChannelMember* IsTargetedRequest(const DataSocket* ds) const
    [all...]
peer_channel.cc 68 ChannelMember::ChannelMember(DataSocket* socket)
72 assert(socket->method() == DataSocket::GET);
83 bool ChannelMember::is_wait_request(DataSocket* ds) const {
110 void ChannelMember::ForwardRequestToPeer(DataSocket* ds, ChannelMember* peer) {
128 void ChannelMember::OnClosing(DataSocket* ds) {
141 assert(waiting_socket_->method() == DataSocket::GET);
159 void ChannelMember::SetWaitingSocket(DataSocket* ds) {
160 assert(ds->method() == DataSocket::GET);
178 bool PeerChannel::IsPeerConnection(const DataSocket* ds) {
180 return (ds->method() == DataSocket::POST && ds->content_length() > 0) |
    [all...]
data_socket.h 69 class DataSocket : public SocketBase {
78 explicit DataSocket(int socket)
84 ~DataSocket() {
158 // The server socket. Accepts connections and generates DataSocket instances
165 DataSocket* Accept() const;
data_socket.cc 44 const char DataSocket::kCrossOriginAllowHeaders[] =
85 // DataSocket
88 std::string DataSocket::request_arguments() const {
95 bool DataSocket::PathEquals(const char* path) const {
103 bool DataSocket::OnDataAvailable(bool* close_socket) {
134 bool DataSocket::Send(const std::string& data) const {
139 bool DataSocket::Send(const std::string& status, bool connection_close,
172 void DataSocket::Clear() {
181 bool DataSocket::ParseHeaders() {
204 bool DataSocket::ParseMethodAndPath(const char* begin, size_t len)
    [all...]
main.cc 44 void HandleBrowserRequest(DataSocket* ds, bool* quit) {
55 } else if (ds->method() == DataSocket::OPTIONS) {
95 typedef std::vector<DataSocket*> SocketArray;
114 DataSocket* s = *i;
174 DataSocket* s = listener.Accept();

Completed in 55 milliseconds