Known subclasses: twisted.web.vhost.VirtualHostCollection

A homogenous collection of entities.

I will only contain entities that are an instance of the class or type specified by my 'entityType' attribute.

Method entityConstraint A method that determines whether an entity may be added to me.
Method getNameType Undocumented
Method getEntityType Undocumented

Inherited from Collection (via Constrained):

Method __init__ Initialize me.
Method getStaticEntity Get an entity that was added to me using putEntity.
Method getDynamicEntity Subclass this to generate an entity on demand.
Method getEntity Retrieve an entity from me.
Method delEntity Remove a static reference for 'name'.
Method storeEntity Store an entity for 'name', based on the content of 'request'.
Method removeEntity Remove an entity for 'name', based on the content of 'request'.
Method listStaticEntities Retrieve a list of all name, entity pairs that I store references to.
Method listDynamicEntities A list of all name, entity that I can generate on demand.
Method listEntities Retrieve a list of all name, entity pairs I contain.
Method listStaticNames Retrieve a list of the names of entities that I store references to.
Method listDynamicNames Retrieve a list of the names of entities that I store references to.
Method listNames Retrieve a list of all names for entities that I contain.

Inherited from Collection (via Constrained):

Method __init__ Initialize me.
Method getStaticEntity Get an entity that was added to me using putEntity.
Method getDynamicEntity Subclass this to generate an entity on demand.
Method getEntity Retrieve an entity from me.
Method delEntity Remove a static reference for 'name'.
Method storeEntity Store an entity for 'name', based on the content of 'request'.
Method removeEntity Remove an entity for 'name', based on the content of 'request'.
Method listStaticEntities Retrieve a list of all name, entity pairs that I store references to.
Method listDynamicEntities A list of all name, entity that I can generate on demand.
Method listEntities Retrieve a list of all name, entity pairs I contain.
Method listStaticNames Retrieve a list of the names of entities that I store references to.
Method listDynamicNames Retrieve a list of the names of entities that I store references to.
Method listNames Retrieve a list of all names for entities that I contain.
def entityConstraint(self, entity): (source)

A method that determines whether an entity may be added to me.

If the constraint is satisfied, return 1; if the constraint is not satisfied, either return 0 or raise a descriptive ConstraintViolation.

def getNameType(self): (source)
Undocumented
def getEntityType(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2016-04-04 15:02:49.