Package flumotion :: Package common :: Module registry :: Class RegistryEntryPlug
[show private | hide private]
[frames | no frames]

Class RegistryEntryPlug


I represent a <plug> entry in the registry
Method Summary
  __init__(self, filename, type, socket, entry, properties)
  getEntry(self)
list of RegistryEntryProperty getProperties(self)
Get a list of all properties.
  getSocket(self)
  getType(self)
  hasProperty(self, name)
Check if the component has a property with the given name.

Method Details

__init__(self, filename, type, socket, entry, properties)
(Constructor)

Parameters:
filename - name of the XML file this plug is parsed from
           (type=str)
type - the type of plug
           (type=str)
socket - the fully qualified class name of the socket this plug can be plugged in to
           (type=str)
entry - entry point for instantiating the plug
           (type=RegistryEntryEntry)
properties - properties of the plug
           (type=dict of str -> RegistryEntryProperty)

getProperties(self)

Get a list of all properties.
Returns:
list of RegistryEntryProperty

hasProperty(self, name)

Check if the component has a property with the given name.

Generated by Epydoc 2.1 on Sat Apr 14 13:16:52 2007 http://epydoc.sf.net