template <class Class, void (Class::* method)(async_dispatcher_t* dispatcher, async::ReceiverBase* receiver,
                                 zx_status_t status, const zx_packet_user_t* data)>

class ReceiverMethod

Defined at line 98 of file ../../sdk/lib/async/include/lib/async/cpp/receiver.h

A receiver whose handler is bound to a fixed class member function.

Usage:

class Foo {

void Handle(async_dispatcher_t* dispatcher, async::ReceiverBase* receiver, zx_status_t

status,

const zx_packet_user_t* data) { ... }

async::ReceiverMethod

<Foo

,

&Foo

::Handle> receiver_{this};

};

Public Methods

void ReceiverMethod<Class, method> (Class * instance)

Defined at line 100 of file ../../sdk/lib/async/include/lib/async/cpp/receiver.h