
Public Member Functions | |
| void | publishChange (NSNotification notification) |
Package Functions | |
| ERCNPublisher (ERCNNotificationCoordinator coordinator) | |
| synchronized void | terminate () |
Private Member Functions | |
| TopicPublisher | _topicPublisher (Topic topic, TopicSession topicSession) |
| TopicSession | _topicSession () |
Private Attributes | |
| ERCNNotificationCoordinator | _coordinator |
There must be exactly one instance of the ERCNPublisher on the application and registered to the NSNotificationCenter, but its publishChange method will be executed by application's multiple worker threads concurrently. Since JMS session object is limited for serial use (single threaded use), ERCNPublisher prepares a JMS session object per thread so that each worker threads can perform the operation concurrently.
| ERCNPublisher | ( | ERCNNotificationCoordinator | coordinator | ) | [package] |
| TopicPublisher _topicPublisher | ( | Topic | topic, | |
| TopicSession | topicSession | |||
| ) | [private] |
| TopicSession _topicSession | ( | ) | [private] |
| void publishChange | ( | NSNotification | notification | ) |
| synchronized void terminate | ( | ) | [package] |
ERCNNotificationCoordinator _coordinator [private] |
1.5.8