MCPcopy Create free account
hub / github.com/apache/qpid-proton / selectable

Method selectable

python/proton/_reactor.py:380–397  ·  view source on GitHub ↗

NO IDEA! :param handler: no idea :type handler: ? :param delegate: no idea :type delegate: ?

(
            self,
            handler: Optional[Union['Acceptor', 'EventInjector']] = None,
            delegate: Optional['socket'] = None
    )

Source from the content-addressed store, hash-verified

378 return connection.connected_address
379
380 def selectable(
381 self,
382 handler: Optional[Union['Acceptor', 'EventInjector']] = None,
383 delegate: Optional['socket'] = None
384 ) -> Selectable:
385 """
386 NO IDEA!
387
388 :param handler: no idea
389 :type handler: ?
390 :param delegate: no idea
391 :type delegate: ?
392 """
393 if delegate is None:
394 delegate = handler
395 result = Selectable(delegate, self)
396 result.handler = handler
397 return result
398
399 def update(self, selectable: Selectable) -> None:
400 selectable.update()

Callers 8

writableMethod · 0.80
__init__Method · 0.80
on_reactor_initMethod · 0.80
setUpMethod · 0.80
on_startMethod · 0.80
on_startMethod · 0.80

Calls 1

SelectableClass · 0.85

Tested by 1

on_reactor_initMethod · 0.64