M2-PT-DRP/source/behaviors/roles/SlaveRole.py

11 lines
363 B
Python

from source.behaviors.roles import base
class SlaveRole(base.BaseRole):
"""
Role used when the machine is declared as a slave.
It shall listen for a master and check if everything is working properly
"""
def handle(self):
# TODO(Faraphel): ping the server and check if it is working properly. Return to undefined if no.
pass