ProtocolFactory

The protocol factory is a singleton that is always in existence - it manages the creation functions for different protocols.

Protocols should each provide a factory method that creates the protocol from a list of strings - these being the fields (as divided by colons) of the protocol id.

Methods

__init__(self)

   def __init__(self):

create(self, protoId)

   def create(self, protoId):

register(self, protoTypeId, protoFact)

   def register(self, protoTypeId, protoFact):