Home | Trees | Indices | Help |
|
---|
|
object --+ | TopicManager
Class that manages distribution of messages to topic subscribers.
This class uses threading.RLock
to guard the public
methods. This is probably a bit excessive, given 1) the actomic nature
of basic dict
read/write operations and 2) the fact that
most of the internal data structures are keying off of the STOMP
connection, which is going to be thread-isolated. That said, this seems
like the technically correct approach and should increase the chance of
this code being portable to non-GIL systems.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Closes all resources associated with this topic manager. (Currently this is simply here for API conformity w/ coilmq.queue.QueueManager.)
|
Subscribes a connection to the specified topic destination.
|
Unsubscribes a connection from the specified topic destination.
|
Removes a subscriber connection.
|
Sends a message to all subscribers of destination.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jun 28 20:30:43 2011 | http://epydoc.sourceforge.net |