Home | Trees | Index | Help |
---|
Package twisted :: Package coil :: Module app :: Class ConnectorCollection |
|
Collection
--+ |Constrained
--+ |ConfigCollection
--+ | ConnectorCollection
Method Summary | |
---|---|
__init__(self,
app)
| |
__repr__(self)
| |
__str__(self)
| |
Remove a static reference for 'name'. | |
A method that determines whether an entity may be added to me. (inherited from ConfigCollection )
| |
Subclass this to generate an entity on demand. (inherited from Collection )
| |
Retrieve an entity from me. (inherited from Collection )
| |
getEntityType(self)
| |
getNameType(self)
(inherited from ConfigCollection )
| |
Get an entity that was added to me using putEntity. | |
A list of all name, entity that I can generate on demand. (inherited from Collection )
| |
Retrieve a list of the names of entities that I store references to. (inherited from Collection )
| |
Retrieve a list of all name, entity pairs I contain. (inherited from Collection )
| |
Retrieve a list of all names for entities that I contain. (inherited from Collection )
| |
Retrieve a list of all name, entity pairs that I store references to. (inherited from Collection )
| |
Retrieve a list of the names of entities that I store references to. (inherited from Collection )
| |
A method that determines whether an entity may be added to me with a given name. | |
Store an entity if it meets both constraints. (inherited from Constrained )
| |
Adds a Connector to the Application. | |
Remove an entity for 'name', based on the content of 'request'. (inherited from Collection )
| |
Store an entity for 'name', based on the content of 'request'. (inherited from Collection )
| |
_getHostPortFromName(self,
name)
| |
_getIndexFromName(self,
name)
|
Class Variable Summary | |
---|---|
class |
IConnector
|
Method Details |
---|
delEntity(self, name)Remove a static reference for 'name'. Raises a KeyError if the operation fails.
|
getStaticEntity(self, name)Get an entity that was added to me using putEntity. This method will return 'None' if it fails.
|
nameConstraint(self, name)A method that determines whether an entity may be added to me with a given name. If the constraint is satisfied, return 1; if the constraint is not satisfied, either return 0 or raise a descriptive ConstraintViolation.
|
reallyPutEntity(self, name, connector)Adds a Connector to the Application. |
Class Variable Details |
---|
IConnectorIConnector = twisted.internet.interfaces.IConnector
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sat Feb 15 21:18:54 2003 | http://epydoc.sf.net |