public int ModuleFinished(IModule module) { return(_view.ModuleFinished(ModuleAdapter.C2V(module))); }
public void SetRoles(IPortInfo portInfo, IListContract <IRole> roles, IModule module) { _view.SetRoles(PortInfoAdapter.C2V(portInfo), CollectionAdapters.ToIList <IRole, VRole>(roles, RoleAdapter.C2V, RoleAdapter.V2C), ModuleAdapter.C2V(module)); }
public ICapability GetCapability(IModule module, IPort targetPort, string username, string password) { return(CapabilityAdapter.V2C(_view.GetCapability(ModuleAdapter.C2V(module), PortAdapter.C2V(targetPort), username, password))); }
public int DeregisterPort(HomeOS.Hub.Platform.Contracts.IPort port, HomeOS.Hub.Platform.Contracts.IModule module) { return(_view.DeregisterPort(PortAdapter.C2V(port), ModuleAdapter.C2V(module))); }
public HomeOS.Hub.Platform.Contracts.IPortInfo GetPortInfo(string moduleFacingName, HomeOS.Hub.Platform.Contracts.IModule module) { return(PortInfoAdapter.V2C(_view.GetPortInfo(moduleFacingName, ModuleAdapter.C2V(module)))); }
//*** public void UpdateState(HomeOS.Hub.Platform.Contracts.IModule module, HomeOS.Hub.Platform.Contracts.IModuleState state) { _view.UpdateState(ModuleAdapter.C2V(module), ModuleStateAdapter.C2V(state)); }
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)); }
public VCapability GetCapability(VModule module, VPort targetPort, string username, string password) { return(CapabilityAdapter.C2V(_contract.GetCapability(ModuleAdapter.V2C(module), PortAdapter.V2C(targetPort), username, password))); }
public int ModuleFinished(VModule module) { return(_contract.ModuleFinished(ModuleAdapter.V2C(module))); }
public void SetRoles(VPortInfo portInfo, IList <VRole> roles, VModule module) { _contract.SetRoles(PortInfoAdapter.V2C(portInfo), CollectionAdapters.ToIListContract <VRole, IRole>(roles, RoleAdapter.V2C, RoleAdapter.C2V), ModuleAdapter.V2C(module)); }
public VPortInfo GetPortInfo(string moduleFacingName, VModule module) { return(PortInfoAdapter.C2V(_contract.GetPortInfo(moduleFacingName, ModuleAdapter.V2C(module)))); }
//*** public int DeregisterPort(VPort port, VModule module) { return(_contract.DeregisterPort(PortAdapter.V2C(port), ModuleAdapter.V2C(module))); }
public void CancelAllSubscriptions(VModule module, VPort controlPort, VCapability controlportcap) { _contract.CancelAllSubscriptions(ModuleAdapter.V2C(module), PortAdapter.V2C(controlPort), CapabilityAdapter.V2C(controlportcap)); }
//*** public void UpdateState(VModule module, VModuleState state) { _contract.UpdateState(ModuleAdapter.V2C(module), ModuleStateAdapter.V2C(state)); }