Exemple #1
0
        protected virtual void Initialize()
        {
            Uri url = MakeUrl();

            root_device.Initialize(url);
            description_server = new DescriptionServer(Serialize, new Uri(url, String.Format("{0}/{1}/", root_device.Type.ToUrlString(), root_device.Id)));
            Announce();
        }
 protected internal virtual void Initialize(Uri serviceUrl)
 {
     description_server = new DescriptionServer (controller, new Uri (serviceUrl, "description/"));
     action_server = new ActionServer (controller, new Uri (serviceUrl, "control/"));
     event_server = new EventServer (controller, new Uri (serviceUrl, "event/"));
 }
Exemple #3
0
 protected internal virtual void Initialize(Uri serviceUrl)
 {
     description_server = new DescriptionServer(controller, new Uri(serviceUrl, "description/"));
     action_server      = new ActionServer(controller, new Uri(serviceUrl, "control/"));
     event_server       = new EventServer(controller, new Uri(serviceUrl, "event/"));
 }