__author__ = 'Dilum Bandara'
__version__ = '0.1'
__date__ = '1/21/2011'
__copyright__ = 'Copyright(c) 2011, Dilum Bandara'
__license__ = 'GPL'

class QueryMessage:
    """
    Message class.
    """
    def __init__(self, id):
        self.source_ID = id #Source node ID
        self.hops = 0 #Hops so far
        self.visited_nodes = [] #List of nodes already visited
        self.success = False #Was query success

