def __init__(self, destination, delayinterval, delayintervaldata=None, maxentities=0): Actor.__init__(self) self.destination = destination self.delayinterval = delayinterval self.delayintervaldata = delayintervaldata self.maxentities = maxentities self.name = "Delay"
def __init__(self, event, intervalfunction, maxevents=0): Actor.__init__(self) self.event = event self.eventsgenerated = 1 self.maxevents = maxevents self.intervalfunction = intervalfunction self.name = "EventGenerator"
def __init__(self, destination, entitytype, entitycreationdata, maxentities=0, batch=False, batchfunction=None): Actor.__init__(self) self.destination = destination self.entitytype = entitytype self.entitycreationdata = entitycreationdata self.batch = batch self.batchfunction = batchfunction self.maxentities = maxentities self.entitiescreated = 1 self.name = "Generator"
def __init__(self, branchactors, branchfunction): Actor.__init__(self) self.branchactors = branchactors self.branchfunction = branchfunction self.name = "Branch"
def __init__(self, destinations): Actor.__init__(self) self.destinations = destinations self.name = "Queue"
def __init__(self): Actor.__init__(self) self.name = 'Slot'
def __init__(self): Actor.__init__(self) self.name = 'Disposer' self.deleteentityfrommemory = True
def __init__(self, destination, initialinventory=[]): Actor.__init__(self) self.destination = destination self.initialinventory = initialinventory self.name = "Storage"
def __init__(self, destination, function): Actor.__init__(self) self.destination = destination self.function = function self.name = "Process"