def sendMessage(sender: Node, reciever: Node, msg: Optional[Tuple]=None):
    '\n    Sends message from one node to another\n\n    :param nodes:\n    :param sender: sender\n    :param reciever: recepient\n    :param msg: optional message - by default random one generated\n    :return:\n    '
    logger.debug('Sending msg from {} to {}'.format(sender.name, reciever.name))
    msg = (msg if msg else randomMsg())
    rid = sender.nodestack.getRemote(reciever.name).uid
    sender.nodestack.send(msg, rid)
Sends message from one node to another

:param nodes:
:param sender: sender
:param reciever: recepient
:param msg: optional message - by default random one generated
:return:
def sendMessage(sender: Node, reciever: Node, msg: Optional[Tuple]=None):
    '\n    Sends message from one node to another\n\n    :param nodes:\n    :param sender: sender\n    :param reciever: recepient\n    :param msg: optional message - by default random one generated\n    :return:\n    '
    logger.debug('Sending msg from {} to {}'.format(sender.name, reciever.name))
    msg = (msg if msg else randomMsg())
    rid = sender.nodestack.getRemote(reciever.name).uid
    sender.nodestack.send(msg, rid)