Lines Matching full:ipc
14 #include "ipc/ipc_channel.h"
15 #include "ipc/ipc_channel_handle.h"
16 #include "ipc/ipc_listener.h"
17 #include "ipc/ipc_sender.h"
23 namespace IPC {
28 // IPC::ChannelProxy
30 // This class is a helper class that is useful when you wish to run an IPC
32 // handling IPC messages on that background thread or having them dispatched to
33 // your main thread (the thread on which the IPC::ChannelProxy is created).
35 // The API for an IPC::ChannelProxy is very similar to that of an IPC::Channel.
36 // When you send a message to an IPC::ChannelProxy, the message is routed to
37 // the background thread, where it is then passed to the IPC::Channel's Send
39 // message will be sent over the IPC channel when possible instead of being
40 // delayed until your thread returns to its message loop. (Often IPC messages
41 // will queue up on the IPC::Channel when there is a lot of traffic, and the
45 // An IPC::ChannelProxy can have a MessageFilter associated with it, which will
46 // be notified of incoming messages on the IPC::Channel's thread. This gives
47 // the consumer of IPC::ChannelProxy the ability to respond to incoming
52 // The consumer of IPC::ChannelProxy is responsible for allocating the Thread
53 // instance where the IPC::Channel will be created and operated.
58 // A class that receives messages on the thread where the IPC channel is
59 // running. It can choose to prevent the default action for an IPC message.
66 // channel. Called when the IPC channel is initialized or when AddFilter
75 // Called to inform the filter that the IPC channel is connected and we
83 // Called to inform the filter that the IPC channel will be destroyed.
99 // passed directly to the underlying IPC::Channel. The listener is called on
101 // method is called on the thread where the IPC::Channel is running. The
105 // on which IPC::Channel is created and used (e.g. IO thread).
106 ChannelProxy(const IPC::ChannelHandle& channel_handle,
117 void Init(const IPC::ChannelHandle& channel_handle, Channel::Mode mode,
120 // Close the IPC::Channel. This operation completes asynchronously, once the
131 // thread where it is passed to the IPC::Channel's Send method.
146 // Called to clear the pointer to the IPC task runner when it's going away.
166 // Used internally to hold state that is referenced on the IPC thread.
184 // IPC::Listener methods:
196 // Like Open and Close, but called on the IPC thread.
210 void CreateChannel(const IPC::ChannelHandle& channel_handle,
226 // List of filters. This is only accessed on the IPC thread.
234 // IPC thread when they're added to filters_.
239 // Cached copy of the peer process ID. Set on IPC but read on both IPC and
258 } // namespace IPC