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

  /external/chromium/net/tools/testserver/
xmppserver_test.py 191 def OnXmppHandshakeDone(self, xmpp_connection):
192 self.connections.add(xmpp_connection)
194 def OnXmppConnectionClosed(self, xmpp_connection):
195 self.connections.discard(xmpp_connection)
203 xmpp_connection = xmppserver.XmppConnection(
207 xmpp_connection.HandshakeDone(xmppserver.Jid('foo', 'bar'))
213 xmpp_connection.collect_incoming_data(
218 xmpp_connection.collect_incoming_data('<iq type="result"/>')
222 xmpp_connection.collect_incoming_data(
228 xmpp_connection.collect_incoming_data('<foo/>'
    [all...]
xmppserver.py 503 xmpp_connection = XmppConnection(sock, self._socket_map, self, addr)
504 self._connections.add(xmpp_connection)
514 def OnXmppHandshakeDone(self, xmpp_connection):
515 self._handshake_done_connections.add(xmpp_connection)
517 def OnXmppConnectionClosed(self, xmpp_connection):
518 self._connections.discard(xmpp_connection)
519 self._handshake_done_connections.discard(xmpp_connection)
testserver.py 159 xmpp_connection = socket_map.get(fd)
162 if xmpp_connection is None:
165 handler(xmpp_connection)
169 xmpp_connection.handle_error()
176 for fd, xmpp_connection in self._xmpp_socket_map.items():
177 is_r = xmpp_connection.readable()
178 is_w = xmpp_connection.writable()
    [all...]

Completed in 1844 milliseconds