def NODEINFO(self, event):
     """ Reception of a NODEINFO event from the node.
     Update the information related to my node
     """
     parser = EventParser()
     # Parse the event and create a Node object
     node = parser.createEntity(event)
     wxEvt = NodeInfoEvent(nodeinfo=node)
         
     wx.PostEvent(self, wxEvt)
 def NEW(self, event):
     """ Reception of a NEW event from the node.
     
     Send a NewPeerEvent to the wxEventHandler  """
     
     parser = EventParser()
     peer = parser.createEntity(event)
     wxEvt = NewPeerEvent(peerinfo=peer)
         
     wx.PostEvent(self, wxEvt)