Home
last modified time | relevance | path

Searched refs:topicObj (Results 1 – 25 of 25) sorted by relevance

/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/lib/pubsub/core/
H A Dtopictreetraverser.py61 topics = [topicObj]
63 topicObj = topics.pop(0)
66 topicObj()
70 if visitor._accept(topicObj):
75 visitor._onTopic(topicObj)
89 topics = [topicObj]
91 topicObj = topics.pop(0)
94 topicObj()
103 visitor._onTopic(topicObj)
113 def _accept(self, topicObj): argument
[all …]
H A Dtopicobj.py233 topicObj = self
239 topicObj = child
241 return topicObj
379 topicObj = self.getParent()
380 while topicObj is not None:
381 if topicObj.hasListeners():
386 topicObj = topicObj.getParent()
452 def __adoptSubtopic(self, topicObj): argument
455 attrName = topicObj.getNodeName()
456 self.__subTopics[attrName] = topicObj
[all …]
H A Dpublisherbase.py143 topicObj = self.__topicMgr.getOrCreateTopic(topicName)
144 subscribedListener, success = topicObj.subscribe(listener)
154 topicObj = self.__topicMgr.getTopic(topicName)
155 unsubdLisnr = topicObj.unsubscribe(listener)
180 for topicName, topicObj in py2and3.iteritems(topicsMap):
182 tmp = topicObj.unsubscribeAllListeners(listenerFilter)
186 topicObj = self.__topicMgr.getTopic(topicName)
187 unsubdListeners = topicObj.unsubscribeAllListeners(listenerFilter)
H A Dtopicdefnprovider.py516 def writeAll(self, topicObj): argument
519 self.__traverser.traverse(topicObj)
521 def _accept(self, topicObj): argument
546 def _onTopic(self, topicObj): argument
549 if topicObj.isAll():
561 self.__printTopicDescription(topicObj)
563 self.__printTopicArgSpec(topicObj)
582 def __printTopicDescription(self, topicObj): argument
583 if topicObj.getDescription():
589 def __printTopicArgSpec(self, topicObj): argument
[all …]
H A Dnotificationmgr.py142 def notifySubscribe(self, pubListener, topicObj, newSub): argument
149 def notifyUnsubscribe(self, pubListener, topicObj): argument
155 def notifyDeadListener(self, pubListener, topicObj): argument
161 def notifySend(self, stage, topicObj, pubListener=None): argument
171 def notifyNewTopic(self, topicObj, description, required, argsDocs): argument
H A Dtopicexc.py48 def __init__(self, badExcListenerID, topicObj, origExc=None): argument
60 % (self.badExcListenerID, topicObj.getName(), self.exc)
H A Dtopicmgr.py290 for topicObj in py2and3.itervalues(self._topicsMap):
291 if topicObj.hasListener(listener):
292 assocTopics.append(topicObj)
H A Dlistener.py37 def __call__(self, listenerID, topicObj): argument
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/lib/pubsub/utils/
H A Dnotification.py34 def notifySubscribe(self, pubListener, topicObj, newSub): argument
36 def notifyUnsubscribe(self, pubListener, topicObj): argument
38 def notifyDeadListener(self, pubListener, topicObj): argument
40 def notifySend(self, stage, topicObj, pubListener=None): argument
79 def notifyUnsubscribe(self, pubListener, topicObj): argument
84 def notifyDeadListener(self, pubListener, topicObj): argument
163 if topicObj is not pubTopic:
167 def notifyUnsubscribe(self, pubListener, topicObj): argument
172 if topicObj is not pubTopic:
174 topic = topicObj,
[all …]
H A Dtopictreeprinter.py85 def _onTopic(self, topicObj): argument
91 if topicObj.isAll():
94 topicName = topicObj.getNodeName()
102 function(indent, topicObj)
124 def __printTopicDescription(self, indent, topicObj): argument
132 args = topicObj.getArgDescriptions()
141 required = topicObj.getArgs()[0]
150 def __printTopicArgNames(self, indent, topicObj): argument
153 def __printTopicListeners(self, indent, topicObj): argument
154 if topicObj.hasListeners():
[all …]
H A Dxmltopicdefnprovider.py176 def _onTopic(self, topicObj): argument
177 if topicObj.isAll():
182 {'id':topicObj.getNodeName()})
184 this_elem = ET.Element('topic', {'id':topicObj.getNodeName()})
185 req, opt = topicObj.getArgs()
189 topicDesc = topicObj.getDescription()
194 argDescriptions = topicObj.getArgDescriptions()
198 parent = topicObj.getParent()
223 self.known_topics.append(topicObj)
H A Dexchandling.py94 def __call__(self, listenerID, topicObj): argument
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/unittests/
H A Dtest_lib_pubsub_topicmgr.py80 assert not topicObj.hasMDS()
81 assert topicObj.getListeners() == []
83 assert topicObj.getNumListeners() == 0
84 assert topicObj.getParent() is parent
85 assert topicObj.getNodeName() == topicObj.getNameTuple()[-1]
88 assert not topicObj.hasListener(foobar)
89 assert not topicObj.hasListeners()
91 assert not topicObj.isAll()
388 def _accept(self, topicObj): argument
391 return len(topicObj.getNameTuple()) <= 2 or topicObj.getNodeName() == 'A'
[all …]
H A Dtest_lib_pubsub_notify4.py30 def notifySubscribe(self, pubListener, topicObj, newSub): argument
32 def notifyUnsubscribe(self, pubListener, topicObj): argument
34 def notifyDeadListener(self, pubListener, topicObj): argument
36 def notifySend(self, stage, topicObj, pubListener=None): argument
38 def notifyNewTopic(self, topicObj, description, required, argsDocs): argument
H A Dtest_lib_pubsub_except.py103 def __call__(self, listener, topicObj): argument
107 def __call__(self, listener, topicObj): argument
H A Dtest_lib_pubsub_api3.py45 def notifyDeadListener(self, pubListener, topicObj): argument
46 self.assertEqual(topicObj.getName(), 'sadTopic')
/dports/audio/ampache/ampache-php74-5.0.0/vendor/nikic/Ratchet/Wamp/
H A DTopicManager.php40 $topicObj = $this->getTopic($topic);
42 if ($conn->WAMP->subscriptions->contains($topicObj)) {
47 $conn->WAMP->subscriptions->attach($topicObj);
48 $this->app->onSubscribe($conn, $topicObj);
55 $topicObj = $this->getTopic($topic);
57 if (!$conn->WAMP->subscriptions->contains($topicObj)) {
61 $this->cleanTopic($topicObj, $conn);
63 $this->app->onUnsubscribe($conn, $topicObj);
/dports/audio/ampache/ampache-php74-5.0.0/vendor/cboden/ratchet/src/Ratchet/Wamp/
H A DTopicManager.php40 $topicObj = $this->getTopic($topic);
42 if ($conn->WAMP->subscriptions->contains($topicObj)) {
47 $conn->WAMP->subscriptions->attach($topicObj);
48 $this->app->onSubscribe($conn, $topicObj);
55 $topicObj = $this->getTopic($topic);
57 if (!$conn->WAMP->subscriptions->contains($topicObj)) {
61 $this->cleanTopic($topicObj, $conn);
63 $this->app->onUnsubscribe($conn, $topicObj);
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/lib/pubsub/core/kwargs/
H A Dpublishermixin.py37 def filterMsgArgs(self, topicObj): argument
39 self.filteredArgs = topicObj.filterMsgArgs(self.filteredArgs)
41 self.filteredArgs = topicObj.filterMsgArgs(self.filteredArgs, True)
44 def _mix_prePublish(self, msgKwargs, topicObj=None, iterState=None): argument
54 iterState.filterMsgArgs(topicObj)
H A Dpublisher.py26 topicObj = topicMgr.getOrCreateTopic(topicName)
27 topicObj.publish(**kwargs)
/dports/www/foswiki/Foswiki-2.1.6/lib/Foswiki/
H A DPageCache.pm683 my $topicObj =
688 s/<dirtyarea([^>]*?)>(?!.*<dirtyarea)(.*?)<\/dirtyarea>/$this->_handleDirtyArea($1, $2, $topicObj)/…
704 my ( $this, $args, $text, $topicObj ) = @_;
716 $prefs->pushTopicContext( $topicObj->web, $topicObj->topic );
720 $text = $topicObj->expandMacros($text);
721 $text = $topicObj->renderTML($text);
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/lib/pubsub/core/arg1/
H A Dpublisher.py31 topicObj = topicMgr.getOrCreateTopic(topicName)
36 topicObj.publish(data)
H A Dpublishermixin.py27 def _mix_prePublish(self, data, topicObj=None, iterState=None): argument
/dports/www/rt44/rt-4.4.5/share/html/Articles/Article/Elements/
H A DEditTopics111 while (my $topicObj = $articleTopics->Next) {
112 $topics{$topicObj->Topic} = 1;
/dports/www/rt50/rt-5.0.2/share/html/Articles/Article/Elements/
H A DEditTopics110 while (my $topicObj = $articleTopics->Next) {
111 $topics{$topicObj->Topic} = 1;