Esempio n. 1
0
 public int DeregisterPort(HomeOS.Hub.Platform.Contracts.IPort port, HomeOS.Hub.Platform.Contracts.IModule module)
 {
     return(_view.DeregisterPort(PortAdapter.C2V(port), ModuleAdapter.C2V(module)));
 }
Esempio n. 2
0
        //***

        public int InstallCapability(HomeOS.Hub.Platform.Contracts.ICapability capability, HomeOS.Hub.Platform.Contracts.IPort targetPort)
        {
            return(_view.InstallCapability(CapabilityAdapter.C2V(capability), PortAdapter.C2V(targetPort)));
        }
Esempio n. 3
0
 public void CancelAllSubscriptions(HomeOS.Hub.Platform.Contracts.IModule module, HomeOS.Hub.Platform.Contracts.IPort controlPort, HomeOS.Hub.Platform.Contracts.ICapability controlportcap)
 {
     _view.CancelAllSubscriptions(ModuleAdapter.C2V(module), PortAdapter.C2V(controlPort), CapabilityAdapter.C2V(controlportcap));
 }
Esempio n. 4
0
 public void PortDeregistered(HomeOS.Hub.Platform.Contracts.IPort port)
 {
     _view.PortDeregisteredWithHooks(PortAdapter.C2V(port));
 }