Adds a reading consumer to the bus.
Adds a reading consumer to the bus. Note that the readers are kept in a Set and this method doesn't currently check whether the set already contains the reader. Adding the same reader more than once will cause malfunction.
As a consequence, the user's busChanged method is invoked with the current bus.
Adds a writing consumer to the bus.
Adds a writing consumer to the bus. Note that the writers are kept in a Set and this method doesn't currently check whether the set already contains the writer. Adding the same writer more than once will cause malfunction.
As a consequence, the user's busChanged method is invoked with the current bus.
Removes a reading consumer from the bus.
Removes a reading consumer from the bus. It is safe to call this method, passing in a user which has already been previously removed.
Removes a writing consumer from the bus.
Removes a writing consumer from the bus. It is safe to call this method, passing in a user which has already been previously removed.