A collection of Ports; names may only be strings which represent port numbers.
Methods
|
|
__init__
delEntity
getEntityType
getNameType
getStaticEntity
listStaticEntities
nameConstraint
reallyPutEntity
|
|
__init__
|
__init__ (
self,
app,
ptype,
)
|
|
delEntity
|
delEntity ( self, portno )
|
|
getEntityType
|
getEntityType ( self )
|
|
getNameType
|
getNameType ( self )
|
|
getStaticEntity
|
getStaticEntity ( self, name )
Exceptions
|
|
KeyError, "No such entity %s" %( name, )
|
|
|
listStaticEntities
|
listStaticEntities ( self )
|
|
nameConstraint
|
nameConstraint ( self, name )
Enter a port number.
Exceptions
|
|
roots.ConstraintViolation("Not a port number: %s" % repr( name ) )
|
|
|
reallyPutEntity
|
reallyPutEntity (
self,
portno,
factory,
)
|
|