public override void giveMessage(Omnipressent.Message m)
        {
            switch(m.message)
            {
                case(Omnipressent.messageEnum.GiveHostInfoXML):
                    {

                        hi.parseXML(m.arguments);
                        break;
                    }
                case (Omnipressent.messageEnum.GetHostInfoXML):
                    {
                        Message mr = new Message(targetHost, messageTypeEnum.ServiceInfo, messageEnum.GetHostInfoXML, hi.ToXML());
                        System.Windows.Forms.MessageBox.Show(mr.ToString());
                        generateMessage(mr);
                        break;
                    }
                case(Omnipressent.messageEnum.UpdateInfo):
                        {

                            hi.updateInfo();
                            break;
                        }
            }
        }
        public override void giveMessage(Omnipressent.Message m)
        {
            switch(m.message)
            {
                case (Omnipressent.messageEnum.SetTarget):
                    {
                        targetHost = Convert.ToInt32(m.arguments);
                        break;
                    }

                case(Omnipressent.messageEnum.GiveHostInfoXML):
                    {
                        hi.parseXML(m.arguments);
                        //hi.updateInfo();
                        break;
                    }
                case (Omnipressent.messageEnum.GetHostInfoXML):
                    {
                        hi.updateInfo();
                        messageTypeEnum mt = (messageTypeEnum)Convert.ToInt32(m.arguments);
                        debugLog("ServiceInfo Detected > " + mt.ToString());
                        Message mr = new Message(targetHost,mt , messageEnum.GetHostInfoXML, hi.ToXML());
                      //  System.Windows.Forms.MessageBox.Show(mr.ToString());
                        generateMessage(mr);
                        break;
                    }
                case (Omnipressent.messageEnum.GetLocalHostInfoXML):
                    {
                        hi.updateInfo();
                        messageTypeEnum mt = (messageTypeEnum)Convert.ToInt32(m.arguments);
                         debugLog("ServiceInfo Detected > " + mt.ToString());
                        Message mr = new Message(targetHost,mt , messageEnum.GetLocalHostInfoXML, hi.ToXML(0));
                       // System.Windows.Forms.MessageBox.Show(mr.ToString());
                        generateMessage(mr);
                        break;
                    }
                case(Omnipressent.messageEnum.UpdateInfo):
                        {

                            hi.updateInfo();
                            break;
                        }
            }
        }