| |
Methods defined here:
- __init__(self, parent)
- configure(self, nm, cf)
- Configure this JSONConFactory
- countConnections(self)
- Returns the number of open connections
- getProtocol(self)
- Return the name of the protocol that we provide connections
for
- getService(self, loc)
- Return a connected IServiceCon for the given location
- hasConnectionTo(self, loc)
- Returns true if we have an open connection to this host/port
- isServiceConnected(self, loc)
- Returns true if we have an open connection to this service.
Some protocols may not support this and would therefore always
return False
Data and other attributes defined here:
- __implemented__ = <implementedBy mv3d.net.client.JSONConFactory>
- __providedBy__ = <zope.interface.declarations.ClassProvides object at 0x3138350>
- __provides__ = <zope.interface.declarations.ClassProvides object at 0x3138350>
- Special descriptor for class __provides__
The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.
For example:
>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
... pass
>>> class IFoo(Interface):
... pass
>>> class C(object):
... implements(IFoo)
... classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
- creds = None
- localAliases = None
- protocol = 'https'
|