NAME

Mesos::Role::Channel

DESCRIPTION

A role for channels between drivers and event handlers.

METHODS

recv()

Main entry point to this class. Returns and deserializes any events logged by proxy schedulers or drivers.
This is non-blocking and will immediately return undef if no events are queued.

The first argument returned is the name of the event logged.
The remaining return values are the arguments received from MesosSchedulerDriver.

size()

Returns the number of pending events.