1 class {{interface.name}}Stub : public mojo::MessageReceiverWithResponder {
3 {{interface.name}}Stub();
4 void set_sink({{interface.name}}* sink) { sink_ = sink; }
5 {{interface.name}}* sink() { return sink_; }
7 virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE;
8 virtual bool AcceptWithResponder(mojo::Message* message,
9 mojo::MessageReceiver* responder)
13 {{interface.name}}* sink_;