Home | History | Annotate | Download | only in system

Lines Matching defs:dispatcher

33 class Dispatcher;
36 using DispatcherVector = std::vector<scoped_refptr<Dispatcher>>;
38 // A |Dispatcher| implements Mojo EDK calls that are associated with a
41 class MOJO_SYSTEM_IMPL_EXPORT Dispatcher
42 : public base::RefCountedThreadSafe<Dispatcher> {
49 scoped_refptr<Dispatcher> dispatcher;
93 // |*new_dispatcher| should be null (and will contain the dispatcher for the
97 scoped_refptr<Dispatcher>* new_dispatcher);
131 // Adds a dispatcher to wait on. When the dispatcher satisfies |signals|, it
133 // |dispatcher| has been added, it must be removed before adding again,
136 const scoped_refptr<Dispatcher>& dispatcher,
140 // Removes a dispatcher to wait on. If |dispatcher| has not been added,
143 const scoped_refptr<Dispatcher>& dispatcher);
161 // Adds an awakable to this dispatcher, which will be woken up when this
172 // - |MOJO_RESULT_INVALID_ARGUMENT| if the dispatcher has been closed; and
180 // Removes an awakable from this dispatcher. (It is valid to call this
188 // number of platform handles and ports needed to transfer this dispatcher
203 // Serializes this dispatcher into |destination|, |ports|, and |handles|.
204 // Returns true iff successful, false otherwise. In either case the dispatcher
216 // Does whatever is necessary to begin transit of the dispatcher. This
221 // Does whatever is necessary to complete transit of the dispatcher, including
223 // message containing this serialized dispatcher.
226 // Does whatever is necessary to cancel transit of the dispatcher. The
227 // dispatcher should remain in a working state and resume normal operation.
230 // Deserializes a specific dispatcher type from an incoming message.
231 static scoped_refptr<Dispatcher> Deserialize(
241 friend class base::RefCountedThreadSafe<Dispatcher>;
243 Dispatcher();
244 virtual ~Dispatcher();
246 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
251 Dispatcher::Type type) {