Home | Trees | Index | Help |
|
---|
Package g4ds :: Module communicationmanager :: Class ProtocolManager |
|
Method Summary | |
---|---|
Initialises the manager with the subjacent database. | |
Some basic information about the object | |
Add one protocol to the manager. | |
Returns the protocol instance for the given protocol id. | |
Returns the protocol with given protocol name. | |
List of Protocol
|
Returns a list of all saved protocols. |
Instance Variable Summary | |
---|---|
communicationmanager_db.CommDB |
_comm_db : Communication Database Connector |
Boolean |
_dbconnected : Indicates, whether the manager is connected to a database; hence
whether the changes shall be written through |
Dict (String | Protocol ) |
_protocols : Dictionary, maintaining the protocols - accessable by its id |
Method Details |
---|
__init__(self,
loadFromDatabase=1)
Initialises the manager with the subjacent database.
|
__str__(self)
Some basic information about the object
|
addProtocol(self, protocol, persistent=1)Add one protocol to the manager.
|
getProtocol(self, protocolId)Returns the protocol instance for the given protocol id. |
getProtocolByNameAndInsert(self, protocolname)Returns the protocol with given protocol name. If the protocol is not yet in the manager it will be created. |
getProtocols(self)Returns a list of all saved protocols.
|
Instance Variable Details |
---|
_comm_dbCommunication Database Connector |
_dbconnectedIndicates, whether the manager is connected to a database; hence whether the changes shall be written through
|
_protocolsDictionary, maintaining the protocols - accessable by its id
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 | http://epydoc.sf.net |