pymasep.communication.frame =========================== .. py:module:: pymasep.communication.frame Classes ------- .. autoapisummary:: pymasep.communication.frame.Frame Module Contents --------------- .. py:class:: Frame(msg) Frame sent at tcp level :param msg: bytes to send .. py:attribute:: size .. py:attribute:: message .. py:method:: __eq__(other) Check if two messages are equals :param other: The other message to compare :return: True if messages are equals .. py:method:: hello_frame(ident) :classmethod: First frame to send at connection .. py:method:: bye_frame() :classmethod: Frame that can be used to close the ReceivedHandler thread