lbaf.Model.lbsObjectCommunicator.ObjectCommunicator class

A class holding received and sent messages for an object.

Methods

def _ObjectCommunicator__summarize_unidirectional(self, direction)
Summarize one-way communicator properties and check for errors.
def get_max_volume(self)
Return the maximum bytes received or sent at this communicator.
def get_received(self) -> dict
Return all from_object=volume pairs received by object.
def get_received_from_object(self, o)
Return the volume of a message received from an object if any.
def get_sent(self) -> dict
Return all to_object=volume pairs sent from object.
def get_sent_to_object(self, o)
Return the volume of a message received from an object if any.
def summarize(self) -> tuple
Summarize communicator properties and check for errors.

Special methods

def __init__(self, i: int, logger: logging.Logger, r: dict = None, s: dict = None)
Class constructor.