ooici/pyon — pull request #226 by daf (2013-01-23 17:59:30+00:00)
Title: Add auto_delete to EventSubscriber initializer

Adds the ability to pass auto_delete up to the channel creation for a listening `EventSubscriber`/`ProcessEventSubscriber`.

In the case of a clean shutdown, this is redundant: the `SubscriberChannel` close already will delete any anonymous queues (given it meets a long list of conditions), but the auto_delete flag here will handle non-graceful shutdowns. See https://github.com/ooici/pyon/blob/master/pyon/net/channel.py#L954-L957 for implementation details on the Subscriber's deletion mechanism.