OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ConnectionHandler
(Results
1 - 25
of
29
) sorted by null
1
2
/external/chromium_org/google_apis/gcm/engine/
connection_handler.cc
9
ConnectionHandler
::
ConnectionHandler
() {
12
ConnectionHandler
::~
ConnectionHandler
() {
fake_connection_handler.h
15
// A fake implementation of a
ConnectionHandler
that can arbitrarily receive
17
class FakeConnectionHandler : public
ConnectionHandler
{
20
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
21
const
ConnectionHandler
::ProtoSentCallback& write_callback);
24
//
ConnectionHandler
implementation.
56
ConnectionHandler
::ProtoReceivedCallback read_callback_;
57
ConnectionHandler
::ProtoSentCallback write_callback_;
connection_handler.h
32
// Once a connection error is encountered, the
ConnectionHandler
will disconnect
35
class GCM_EXPORT
ConnectionHandler
{
42
ConnectionHandler
();
43
virtual ~
ConnectionHandler
();
fake_connection_factory.h
25
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
26
const
ConnectionHandler
::ProtoSentCallback& write_callback) OVERRIDE;
27
virtual
ConnectionHandler
* GetConnectionHandler() const OVERRIDE;
connection_factory.h
26
// Factory for creating a
ConnectionHandler
and maintaining its connection.
27
// The factory retains ownership of the
ConnectionHandler
and will enforce
76
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
77
const
ConnectionHandler
::ProtoSentCallback& write_callback) = 0;
81
virtual
ConnectionHandler
* GetConnectionHandler() const = 0;
fake_connection_factory.cc
23
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
24
const
ConnectionHandler
::ProtoSentCallback& write_callback) {
30
ConnectionHandler
* FakeConnectionFactory::GetConnectionHandler() const {
connection_factory_impl.h
45
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
46
const
ConnectionHandler
::ProtoSentCallback& write_callback) OVERRIDE;
47
virtual
ConnectionHandler
* GetConnectionHandler() const OVERRIDE;
86
virtual scoped_ptr<
ConnectionHandler
> CreateConnectionHandler(
88
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
89
const
ConnectionHandler
::ProtoSentCallback& write_callback,
90
const
ConnectionHandler
::ConnectionChangedCallback& connection_callback);
99
//
ConnectionHandler
callback for connection issues.
165
scoped_ptr<
ConnectionHandler
> connection_handler_;
fake_connection_handler.cc
29
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
30
const
ConnectionHandler
::ProtoSentCallback& write_callback)
connection_factory_impl_unittest.cc
119
virtual scoped_ptr<
ConnectionHandler
> CreateConnectionHandler(
121
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
122
const
ConnectionHandler
::ProtoSentCallback& write_callback,
123
const
ConnectionHandler
::ConnectionChangedCallback& connection_callback)
207
scoped_ptr<
ConnectionHandler
>
210
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
211
const
ConnectionHandler
::ProtoSentCallback& write_callback,
212
const
ConnectionHandler
::ConnectionChangedCallback& connection_callback) {
216
return make_scoped_ptr<
ConnectionHandler
>(fake_handler_);
293
ConnectionHandler
::ProtoReceivedCallback()
[
all
...]
connection_factory_impl.cc
78
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
79
const
ConnectionHandler
::ProtoSentCallback& write_callback) {
96
ConnectionHandler
* ConnectionFactoryImpl::GetConnectionHandler() const {
309
scoped_ptr<
ConnectionHandler
> ConnectionFactoryImpl::CreateConnectionHandler(
311
const
ConnectionHandler
::ProtoReceivedCallback& read_callback,
312
const
ConnectionHandler
::ProtoSentCallback& write_callback,
313
const
ConnectionHandler
::ConnectionChangedCallback& connection_callback) {
314
return make_scoped_ptr<
ConnectionHandler
>(
connection_handler_impl.h
19
class GCM_EXPORT ConnectionHandlerImpl : public
ConnectionHandler
{
35
//
ConnectionHandler
implementation.
mcs_client.h
231
ConnectionHandler
* connection_handler_;
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/public/
ConnectionHandler.h
39
class
ConnectionHandler
43
virtual ~
ConnectionHandler
() {};
Server.h
47
#include "
ConnectionHandler
.h"
65
ConnectionHandler
*
connectionHandler
,
99
ConnectionHandler
*
connectionHandler
; /**< Connection handler registered to the server */
NetlinkServer.h
48
#include "
ConnectionHandler
.h"
60
ConnectionHandler
*
connectionHandler
/external/deqp/execserver/
xsTcpServer.hpp
36
class
ConnectionHandler
;
44
virtual
ConnectionHandler
* createHandler (de::Socket* socket, const de::SocketAddress& clientAddress) = DE_NULL;
49
virtual void connectionDone (
ConnectionHandler
* handler);
58
void addLiveConnection (
ConnectionHandler
* handler);
62
std::vector<
ConnectionHandler
*> m_liveConnections;
63
std::vector<
ConnectionHandler
*> m_doneConnections;
66
class
ConnectionHandler
: public de::Thread
69
ConnectionHandler
(TcpServer* server, de::Socket* socket) : m_server(server), m_socket(socket) {}
70
virtual ~
ConnectionHandler
(void);
xsTcpServer.cpp
53
ConnectionHandler
* handler = DE_NULL;
86
void TcpServer::connectionDone (
ConnectionHandler
* handler)
90
std::vector<
ConnectionHandler
*>::iterator liveListPos = std::find(m_liveConnections.begin(), m_liveConnections.end(), handler);
98
void TcpServer::addLiveConnection (
ConnectionHandler
* handler)
108
for (std::vector<
ConnectionHandler
*>::iterator i = m_doneConnections.begin(); i != m_doneConnections.end(); i++)
124
std::vector<
ConnectionHandler
*> allConnections;
140
for (std::vector<
ConnectionHandler
*>::const_iterator i = allConnections.begin(); i != allConnections.end(); i++)
152
ConnectionHandler
::~
ConnectionHandler
(void)
157
void
ConnectionHandler
::run (void
[
all
...]
xsExecutionServer.hpp
51
ConnectionHandler
* createHandler (de::Socket* socket, const de::SocketAddress& clientAddress);
56
void connectionDone (
ConnectionHandler
* handler);
85
class ExecutionRequestHandler : public
ConnectionHandler
xsExecutionServer.cpp
127
ConnectionHandler
* ExecutionServer::createHandler (de::Socket* socket, const de::SocketAddress& clientAddress)
133
void ExecutionServer::connectionDone (
ConnectionHandler
* handler)
142
:
ConnectionHandler
(server, socket)
/external/deqp/framework/platform/android/
tcuAndroidExecService.hpp
80
xs::
ConnectionHandler
* createHandler (de::Socket* socket, const de::SocketAddress& clientAddress);
86
class
ConnectionHandler
: public xs::ExecutionRequestHandler
89
ConnectionHandler
(JavaVM* vm, xs::ExecutionServer* server, de::Socket* socket);
tcuAndroidExecService.cpp
297
xs::
ConnectionHandler
* ExecutionServer::createHandler (de::Socket* socket, const de::SocketAddress& clientAddress)
300
return new
ConnectionHandler
(m_vm, this, socket);
303
//
ConnectionHandler
305
ConnectionHandler
::
ConnectionHandler
(JavaVM* vm, xs::ExecutionServer* server, de::Socket* socket)
311
void
ConnectionHandler
::run (void)
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/
MobiCoreDriverDaemon.h
6
* The MobiCore driver class implements the
ConnectionHandler
interface.
37
#include "Server/public/
ConnectionHandler
.h"
69
class MobiCoreDriverDaemon :
ConnectionHandler
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
Server.cpp
45
ConnectionHandler
*
connectionHandler
,
49
this->
connectionHandler
=
connectionHandler
;
176
if (!
connectionHandler
->handleConnection(connection)) {
180
connectionHandler
->dropConnection(connection);
NetlinkServer.cpp
50
ConnectionHandler
*
connectionHandler
51
): Server(
connectionHandler
, "dummy")
146
if (!
connectionHandler
->handleConnection(connection)) {
150
connectionHandler
->dropConnection(connection);
255
connectionHandler
->dropConnection(connection);
/external/chromium_org/chrome/test/ext_auto/auto_provider/
server.js
61
// |
connectionHandler
|.
62
function AutomationServer(
connectionHandler
) {
64
this.handler_ =
connectionHandler
;
71
AutomationServer.instance_ = new AutomationServer(new
ConnectionHandler
());
Completed in 379 milliseconds
1
2